From b69a243af9a9821ef4fb0a18f82af266d0ba47ad Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 31 May 2007 11:48:50 +0000 Subject: [PATCH] fix assembler nodes [r14211] --- ir/ir/ircons.c | 3 ++- ir/ir/irnode_t.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ir/ir/ircons.c b/ir/ir/ircons.c index 528f25478..213379c5d 100644 --- a/ir/ir/ircons.c +++ b/ir/ir/ircons.c @@ -849,7 +849,8 @@ new_bd_ASM(dbg_info *db, ir_node *block, ir_node *store, int arity, ir_node *inp in[i + 1] = inputs[i]; res = new_ir_node(db, irg, block, op_ASM, mode_T, arity + 1, in); - res->attr.assem.asm_text = asm_text; + res->attr.assem.pin_state = op_pin_state_pinned; + res->attr.assem.asm_text = asm_text; res = optimize_node(res); IRN_VRFY_IRG(res, irg); diff --git a/ir/ir/irnode_t.h b/ir/ir/irnode_t.h index c5d0c16f6..e39dddcf1 100644 --- a/ir/ir/irnode_t.h +++ b/ir/ir/irnode_t.h @@ -207,6 +207,7 @@ typedef struct { /** Inline Assembler support attribute. */ typedef struct { + op_pin_state pin_state; /**< the pin state for operations that might generate a exception */ ident *asm_text; /**< The inline assembler text. */ void *be_data; /**< backend can add data here. */ } asm_attr; -- 2.20.1