Commit 7beca9df authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ia32: Use correct index for memory input requirement.

This corrects x86code/asm_test16.c.
parent a48bb3b2
......@@ -463,7 +463,7 @@ ir_node *x86_match_ASM(const ir_node *node, new_bd_asm_func new_bd_asm,
op->kind = ASM_OP_MEMORY;
const arch_register_req_t *req
= arch_get_irn_register_req(new_pred);
in_reg_reqs[i] = req->cls->class_req;
in_reg_reqs[in_pos] = req->cls->class_req;
} else if (parsed_constraint.memory_possible) {
/* TODO: match Load or Load/Store if memory possible is set */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment