- Don't confuse return statements with conditional branches
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1587 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c
index c487566..f42a241 100644
--- a/util/romcc/romcc.c
+++ b/util/romcc/romcc.c
@@ -20782,7 +20782,7 @@
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)) {