summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyopt_t.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-12-17 08:38:05 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-12-17 08:38:05 +0100
commit831e040d95f74da41bd6f0c1946ed0b2f2cf5423 (patch)
tree4f5a83e33f33758187ca7955e3bbbd1775f4f22b /ir/be/becopyopt_t.h
parent4cbdab238c1bd78c11cda18f18f8a4ab676e5c56 (diff)
becopyopt: Replace is_Reg_Phi() by just is_Phi().
It makes no sense to check the mode of the Phi.
Diffstat (limited to 'ir/be/becopyopt_t.h')
-rw-r--r--ir/be/becopyopt_t.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ir/be/becopyopt_t.h b/ir/be/becopyopt_t.h
index 22df691..d7f0c77 100644
--- a/ir/be/becopyopt_t.h
+++ b/ir/be/becopyopt_t.h
@@ -56,8 +56,6 @@ static inline void set_irn_col(const arch_register_class_t *cls, ir_node *node,
#define list_entry_units(lh) list_entry(lh, unit_t, units)
-#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_Proj(irn) (is_Proj(irn) && be_is_Perm(get_Proj_pred(irn)))