From: Michael Beck Date: Wed, 6 Sep 2006 16:29:20 +0000 (+0000) Subject: add section support X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=6b5d5523180bac09441152acbf94e4d65ae08193;p=libfirm add section support [r8192] --- diff --git a/ir/tr/entity_t.h b/ir/tr/entity_t.h index e456ddb56..334ecea4a 100644 --- a/ir/tr/entity_t.h +++ b/ir/tr/entity_t.h @@ -78,8 +78,8 @@ typedef struct compound_ent_attr { /** attributes for methods */ typedef struct method_ent_attr { - ir_graph *irg; /**< The corresponding irg if known. - The ir_graph constructor automatically sets this field. */ + ir_graph *irg; /**< The corresponding irg if known. + The ir_graph constructor automatically sets this field. */ unsigned irg_add_properties; /**< Additional graph properties can be stored in a entity if no irg is available. */ @@ -87,8 +87,9 @@ typedef struct method_ent_attr { in the virtual function table. */ ptr_access_kind *param_access; /**< the parameter access */ - float *param_weight; /**< The weight of method's parameters. Parameters - with a high weight are good for procedure cloning. */ + float *param_weight; /**< The weight of method's parameters. Parameters + with a high weight are good for procedure cloning. */ + ir_img_section section; /**< The code section where this method should be placed */ } method_ent_attr;