From: Christian Würdig Date: Thu, 12 Jan 2006 14:56:22 +0000 (+0000) Subject: added AddrMode attribute X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=f5a1564c99cbdfc8d4773385beeb10f45a989755;p=libfirm added AddrMode attribute --- diff --git a/ir/be/ia32/ia32_nodes_attr.h b/ir/be/ia32/ia32_nodes_attr.h index 70013ced3..520cb3327 100644 --- a/ir/be/ia32/ia32_nodes_attr.h +++ b/ir/be/ia32/ia32_nodes_attr.h @@ -8,10 +8,10 @@ typedef enum { flavour_Div, flavour_Mod, flavour_DivMod } divmod_flavour_t; typedef enum { pn_EAX, pn_EDX } pn_ia32_Register; typedef struct { - enum { asmop_Const, asmop_SymConst } tp; + enum { asmop_Const, asmop_SymConst, asmop_AddrMode } tp; tarval *tv; /**<< tarval for immediate operations */ - tarval *offset; /**<< offset for LEA */ + tarval *offset; /**<< offset for AddrMode */ ir_node *old_ir; /**<< old ir node to avoid duplicating information (symconst in case of asmop_SymConst) */ divmod_flavour_t dm_flav; /**<< flavour of a DivMod (flavour_Div/Mod/DivMod) */