summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beverify.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-12 05:35:26 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-13 17:32:00 +0100
commit4ad688d62d70217901baa098045927d49b74e562 (patch)
tree5d3883d4f43ea3fea2cadb87d997c7b8f3daebc0 /ir/be/beverify.c
parent553e7e5f35aca6c0481a5261b9c13416ed182028 (diff)
be: Use arch_is_irn_not_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 7b4caa6..44befa4 100644
--- a/ir/be/beverify.c
+++ b/ir/be/beverify.c
@@ -248,8 +248,8 @@ static void verify_schedule_walker(ir_node *block, void *data)
static void check_schedule(ir_node *node, void *data)
{
be_verify_schedule_env_t *env = (be_verify_schedule_env_t*)data;
- bool should_be = !is_Proj(node) && !(arch_get_irn_flags(node) & arch_irn_flag_not_scheduled);
- bool scheduled = bitset_is_set(env->scheduled, get_irn_idx(node));
+ bool const should_be = !arch_is_irn_not_scheduled(node);
+ bool const scheduled = bitset_is_set(env->scheduled, get_irn_idx(node));
if (should_be != scheduled) {
ir_fprintf(stderr, "Verify warning: Node %+F in block %+F(%s) should%s be scheduled\n",