summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beverify.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-29 08:39:43 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-29 08:39:43 +0100
commit0a8dac2b5fb9e59ea2add322baf61237b607bea5 (patch)
tree950025971dd586aa8cd7f61d6e860067591b2802 /ir/be/beverify.c
parent031078da41d1889efcb12250ca35a0124b30cefa (diff)
be: Simplify places, which still assumed, that Projs are scheduled.
Diffstat (limited to 'ir/be/beverify.c')
-rw-r--r--ir/be/beverify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/beverify.c b/ir/be/beverify.c
index a31023d..d8b2db4 100644
--- a/ir/be/beverify.c
+++ b/ir/be/beverify.c
@@ -206,8 +206,8 @@ static void verify_schedule_walker(ir_node *block, void *data)
cfchange_found = node;
}
} else if (cfchange_found != NULL) {
- /* proj and keepany aren't real instructions... */
- if (!is_Proj(node) && !be_is_Keep(node)) {
+ /* keepany isn't a real instruction. */
+ if (!be_is_Keep(node)) {
ir_fprintf(stderr, "Verify Warning: Node %+F scheduled after control flow changing node in block %+F (%s)\n",
node, block, get_irg_name(env->irg));
env->problem_found = true;