From b5a167c64808986a1409fa52aee70b76d6efd4f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Wed, 2 Nov 2005 14:45:39 +0000 Subject: [PATCH] added offset and symconst as attributes --- ir/be/firm2arch_nodes_attr.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ir/be/firm2arch_nodes_attr.h b/ir/be/firm2arch_nodes_attr.h index c455e82fb..16b21cf88 100644 --- a/ir/be/firm2arch_nodes_attr.h +++ b/ir/be/firm2arch_nodes_attr.h @@ -4,7 +4,13 @@ #include "firm_types.h" typedef struct { - tarval *tv; + enum { asmop_Const, asmop_SymConst } tp; + struct { + tarval *tv; /**<< tarval for immediate operations */ + tarval *offset; /**<< offset for LEA */ + ir_node *symconst; /**<< old symconst node in case of asmop_SymConst */ + } data; + void *reg_constraints; } asmop_attr; -- 2.20.1