summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyopt_t.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 18:51:58 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 18:51:58 +0200
commitc2fcdf7cddd0c74d5b6562e7ddce316f1695d800 (patch)
treeef8f1ad29b8a9003f2534825c94ea41be14436f9 /ir/be/becopyopt_t.h
parent584bf872208cab48c79244fc280c7feaa519da69 (diff)
Remove the unused parameter const arch_env_t *env from arch_get_irn_reg_class() and arch_irn_has_reg_class().
[r22692]
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 d631b92..6c5943f 100644
--- a/ir/be/becopyopt_t.h
+++ b/ir/be/becopyopt_t.h
@@ -61,7 +61,7 @@ struct _copy_opt_t {
#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((co)->aenv, irn, -1) == (co)->cls)
+#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)