summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyopt_t.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 20:11:43 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 20:11:43 +0200
commit7c767284b8f554996788212eb30709bb949710c4 (patch)
tree38800b7f0d1257c0b974482144418e80336cc39f /ir/be/becopyopt_t.h
parent0dad4e224fe6d1b4cdc1f2e12cda4a004fbd9023 (diff)
Remove the unused parameter const arch_env_t *env from arch_irn_classify() and arch_irn_class_is().
[r22702]
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 d5fed9f..6987be4 100644
--- a/ir/be/becopyopt_t.h
+++ b/ir/be/becopyopt_t.h
@@ -67,9 +67,9 @@ struct _copy_opt_t {
#define is_Reg_Phi(irn) (is_Phi(irn) && mode_is_data(get_irn_mode(irn)))
-#define get_Perm_src(irn) (get_irn_n(get_Proj_pred(irn), get_Proj_proj(irn)))
-#define is_Perm(arch_env, irn) (arch_irn_classify(arch_env, irn) == arch_irn_class_perm)
-#define is_Perm_Proj(arch_env, irn) (is_Proj(irn) && is_Perm(arch_env, get_Proj_pred(irn)))
+#define get_Perm_src(irn) (get_irn_n(get_Proj_pred(irn), get_Proj_proj(irn)))
+#define is_Perm(irn) (arch_irn_classify(irn) == arch_irn_class_perm)
+#define is_Perm_Proj(irn) (is_Proj(irn) && is_Perm(get_Proj_pred(irn)))
static INLINE int is_2addr_code(const arch_register_req_t *req)
{