X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeschedtrivial.c;h=b95fefedb82df60093276ca90d5cd96c2c6a035d;hb=5ddb95b789dd1acbc59e04f6771085a544483545;hp=ff6973f91bfe7e37b9ce9e86cbe8fec903a2f5c2;hpb=7c767284b8f554996788212eb30709bb949710c4;p=libfirm diff --git a/ir/be/beschedtrivial.c b/ir/be/beschedtrivial.c index ff6973f91..b95fefedb 100644 --- a/ir/be/beschedtrivial.c +++ b/ir/be/beschedtrivial.c @@ -24,9 +24,7 @@ * @date 29.08.2006 * @version $Id$ */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include @@ -52,7 +50,7 @@ static ir_node *trivial_select(void *block_env, ir_nodeset_t *ready_set, /* assure that branches and constants are executed last */ foreach_ir_nodeset(ready_set, irn, iter) { - if (!arch_irn_class_is(irn, branch)) { + if (!is_cfop(irn)) { return irn; } }