path: root/ir/be
diff options
authorChristoph Mallon <>2019-04-05 13:25:16 +0200
committerChristoph Mallon <>2019-04-05 13:25:16 +0200
commit881e05880db5233ddaa25bd0ea0b6e07891927e6 (patch)
tree0beabf6fdbf3997a344a1a74902e94aa518cb717 /ir/be
parent951745edce191083c8688aa2326cf4ec47f6c0cb (diff)
api: Pass the asm text before the constraints and clobbers to new_*_ASM().
This does better fit the syntax of an inline asm statement and also matches the order in irio.
Diffstat (limited to 'ir/be')
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/ia32/ia32_intrinsics.c b/ir/be/ia32/ia32_intrinsics.c
index bb07af0..a05d186 100644
--- a/ir/be/ia32/ia32_intrinsics.c
+++ b/ir/be/ia32/ia32_intrinsics.c
@@ -498,7 +498,7 @@ static void ia32_lower_ASM(ir_node *const asmn)
size_t const n_clobber = get_ASM_n_clobbers(asmn);
ident **const clobbers = get_ASM_clobbers(asmn);
ident *const asm_text = get_ASM_text(asmn);
- ir_node *const new_asm = new_rd_ASM(dbgi, block, mem, n_ins, ins, new_n_constraints, new_constraints, n_clobber, clobbers, asm_text);
+ ir_node *const new_asm = new_rd_ASM(dbgi, block, mem, n_ins, ins, asm_text, new_n_constraints, new_constraints, n_clobber, clobbers);
foreach_out_edge_safe(asmn, edge) {
ir_node *const proj = get_edge_src_irn(edge);