summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyopt_t.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 19:25:04 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 19:25:04 +0200
commitd4bbab11371a9c68aa2a716eaa7589b82a28691e (patch)
tree60c192ec12f4f53e3b454003e73fd58a727decc7 /ir/be/becopyopt_t.h
parenta910bf06a9b445df581fe0c0d5a1abd4114a2398 (diff)
Remove the unused parameter const arch_env_t *env from arch_get_irn_register().
[r22697]
Diffstat (limited to 'ir/be/becopyopt_t.h')
-rw-r--r--ir/be/becopyopt_t.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/becopyopt_t.h b/ir/be/becopyopt_t.h
index 6c5943f..5677a67 100644
--- a/ir/be/becopyopt_t.h
+++ b/ir/be/becopyopt_t.h
@@ -59,9 +59,9 @@ struct _copy_opt_t {
#define ASSERT_OU_AVAIL(co) assert((co)->units.next && "Representation as optimization-units not build")
#define ASSERT_GS_AVAIL(co) assert((co)->nodes && "Representation as graph not build")
-#define get_irn_col(co, irn) arch_register_get_index(arch_get_irn_register((co)->aenv, irn))
-#define set_irn_col(co, irn, col) arch_set_irn_register((co)->aenv, irn, arch_register_for_index((co)->cls, col))
-#define is_curr_reg_class(co, irn) (arch_get_irn_reg_class(irn, -1) == (co)->cls)
+#define get_irn_col(irn) arch_register_get_index(arch_get_irn_register(irn))
+#define set_irn_col(co, irn, col) arch_set_irn_register((co)->aenv, irn, arch_register_for_index((co)->cls, col))
+#define is_curr_reg_class(co, irn) (arch_get_irn_reg_class(irn, -1) == (co)->cls)
#define list_entry_units(lh) list_entry(lh, unit_t, units)