From: Christian Würdig Date: Wed, 2 Nov 2005 14:45:39 +0000 (+0000) Subject: added offset and symconst as attributes X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b5a167c64808986a1409fa52aee70b76d6efd4f6;p=libfirm added offset and symconst as attributes --- 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;