From 5a78bd03a682bb3b8966e5684fc5b2a22e3058f2 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Sat, 29 May 2004 21:26:03 +0000 Subject: - Don't confuse return statements with conditional branches git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1587 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/romcc/romcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c index c487566d0a..f42a24150e 100644 --- a/util/romcc/romcc.c +++ b/util/romcc/romcc.c @@ -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)) { -- cgit v1.2.3