From 86661fb1f3bdb70183390821624fcde3cb355db8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Wed, 2 Nov 2005 14:45:23 +0000 Subject: [PATCH] replaced entity with symconst in immediate attributes --- ir/be/bearch_firm.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ir/be/bearch_firm.h b/ir/be/bearch_firm.h index cfb7dc6e9..646779b89 100644 --- a/ir/be/bearch_firm.h +++ b/ir/be/bearch_firm.h @@ -21,12 +21,14 @@ extern const arch_irn_handler_t firm_irn_handler; /* TODO UGLY*/ int is_Imm(const ir_node *irn); +tarval *get_Imm_tv(ir_node *irn); + typedef struct { - enum { imm_Const, imm_SymConst } tp; - union { - tarval *tv; - entity *ent; - } data; + enum { imm_Const, imm_SymConst } tp; + union { + tarval *tv; + ir_node *symconst; + } data; } imm_attr_t; #endif /* _BEARCH_FIRM_H */ -- 2.20.1