summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepbqpcoloring.c
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/bepbqpcoloring.c
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/bepbqpcoloring.c')
-rw-r--r--ir/be/bepbqpcoloring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bepbqpcoloring.c b/ir/be/bepbqpcoloring.c
index 6e0ea25..f22d15a 100644
--- a/ir/be/bepbqpcoloring.c
+++ b/ir/be/bepbqpcoloring.c
@@ -243,7 +243,7 @@ static void create_affinity_edges(ir_node *irn, void *env)
unsigned pos;
unsigned max;
- if (is_Reg_Phi(irn)) { /* Phis */
+ if (is_Phi(irn)) { /* Phis */
for (pos = 0, max = get_irn_arity(irn); pos < max; ++pos) {
ir_node *arg = get_irn_n(irn, pos);