summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyopt_t.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 19:51:22 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 19:51:22 +0200
commit2e291eab8268af551488b1f4fb4d9ca61b625e33 (patch)
tree54719b564acaa1029e03500bf610573130e109f2 /ir/be/becopyopt_t.h
parent64403cb641209bf4f3db434e0109d74e3420f4fa (diff)
Remove the unused parameter const arch_env_t *env from arch_set_irn_register().
[r22699]
Diffstat (limited to 'ir/be/becopyopt_t.h')
-rw-r--r--ir/be/becopyopt_t.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/becopyopt_t.h b/ir/be/becopyopt_t.h
index 5677a67..d5fed9f 100644
--- a/ir/be/becopyopt_t.h
+++ b/ir/be/becopyopt_t.h
@@ -60,7 +60,7 @@ struct _copy_opt_t {
#define ASSERT_GS_AVAIL(co) assert((co)->nodes && "Representation as graph not build")
#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 set_irn_col(co, irn, col) arch_set_irn_register(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)