- Don't confuse return statements with conditional branches
authorEric Biederman <ebiederm@xmission.com>
Sat, 29 May 2004 21:26:03 +0000 (21:26 +0000)
committerEric Biederman <ebiederm@xmission.com>
Sat, 29 May 2004 21:26:03 +0000 (21:26 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1587 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/romcc/romcc.c

index c487566d0a762e3bb787b10d331200464ce8c37d..f42a24150e6ee422b2e004c673e292ce63b3d7c5 100644 (file)
@@ -20782,7 +20782,7 @@ static void scc_visit_cbranch(struct compile_state *state, struct scc_state *scc
 static void scc_add_sedge_dst(struct compile_state *state, 
        struct scc_state *scc, struct ssa_edge *sedge)
 {
-       if (triple_is_branch(state, sedge->dst->def)) {
+       if (triple_is_cbranch(state, sedge->dst->def)) {
                scc_visit_cbranch(state, scc, sedge->dst);
        }
        else if (triple_is_def(state, sedge->dst->def)) {