summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.h
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-18 09:41:41 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-18 11:21:16 +0100
commitb18c25376aeef915cbd0b6e540bd5a8f2ff0ad5a (patch)
tree9861452d92dad182f598e5825e2941310dd6d746 /ir/be/bearch.h
parent634830b6d4b9e339a33a0fd65cab0d828755848a (diff)
be: Move spill_cost and reload_cost from struct arch_env_t into struct arch_isa_if_t.
This removes the last attributes from struct arch_env_t.
Diffstat (limited to 'ir/be/bearch.h')
-rw-r--r--ir/be/bearch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bearch.h b/ir/be/bearch.h
index 1959342..754446e 100644
--- a/ir/be/bearch.h
+++ b/ir/be/bearch.h
@@ -305,6 +305,8 @@ struct arch_isa_if_t {
arch_register_t const *registers; /**< register array */
unsigned n_register_classes; /**< number of register classes */
arch_register_class_t const *register_classes; /**< register classes */
+ unsigned spill_cost; /**< cost for a spill node */
+ unsigned reload_cost; /**< cost for a reload node */
/**
* Initializes the isa interface. This is necessary before calling any
@@ -399,8 +401,6 @@ struct arch_isa_if_t {
* ISA base class.
*/
struct arch_env_t {
- unsigned spill_cost; /**< cost for a be_Spill node */
- unsigned reload_cost; /**< cost for a be_Reload node */
};
static inline bool arch_irn_is_ignore(const ir_node *irn)