summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepbqpcoloring.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-25 15:02:47 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-25 15:02:47 +0100
commit9486037955a5bb2221dfd2bd6cc0b120ee68cf2c (patch)
tree4d7376786634802459d164d469ad309619d0e68f /ir/be/bepbqpcoloring.c
parent2d83376719b1bd5fd45da73de41d0e3656bb52da (diff)
beinsn: Do not store, whether an insn has constraints.
Simply return no insn, if it has no constraints.
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 b5ddcae..114a6d5 100644
--- a/ir/be/bepbqpcoloring.c
+++ b/ir/be/bepbqpcoloring.c
@@ -597,7 +597,7 @@ static void insert_perms(ir_node *block, void *data)
for (irn = sched_first(block); !sched_is_end(irn);) {
ir_node *const next = sched_next(irn);
be_insn_t * insn = be_scan_insn(env, irn);
- if (insn->has_constraints)
+ if (insn)
pre_process_constraints(env, &insn);
irn = next;