param_weight added
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 1 Nov 2005 10:13:22 +0000 (10:13 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 1 Nov 2005 10:13:22 +0000 (10:13 +0000)
[r6855]

ir/tr/entity_t.h

index f2a9122..2c74a68 100644 (file)
@@ -114,6 +114,8 @@ struct entity {
   unsigned irg_calling_conv;  /**< If (type == method_type) this is a set of calling.
                convention flags if the irg of an entity is not known. */
   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.*/
 
   /* ------------- fields for analyses ---------------*/