summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beasm.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-27 18:55:58 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-27 22:21:48 +0200
commit6b240a342fb12b37a1639da82728bb816c5793a1 (patch)
treeec32561295e2c287caf67f382b607170d3a210d9 /ir/be/beasm.c
parent8d14210e48e14de3b1d7bca00df590ca92700e0b (diff)
be: Introduce a constraint for memory outputs.
Diffstat (limited to 'ir/be/beasm.c')
-rw-r--r--ir/be/beasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/beasm.c b/ir/be/beasm.c
index ca018bf..4864b78 100644
--- a/ir/be/beasm.c
+++ b/ir/be/beasm.c
@@ -261,8 +261,8 @@ ir_node *be_make_asm(ir_node const *const node, ir_node **in, arch_register_req_
/* Add memory input and output. */
ARR_APP1(ir_node*, in, be_transform_node(get_ASM_mem(node)));
- ARR_APP1(arch_register_req_t const*, in_reqs, arch_no_register_req);
- ARR_APP1(arch_register_req_t const*, out_reqs, arch_no_register_req);
+ ARR_APP1(arch_register_req_t const*, in_reqs, arch_memory_req);
+ ARR_APP1(arch_register_req_t const*, out_reqs, arch_memory_req);
dbg_info *const dbgi = get_irn_dbg_info(node);
unsigned const n_ins = ARR_LEN(in);