aboutsummaryrefslogtreecommitdiff
path: root/util/romcc
diff options
context:
space:
mode:
Diffstat (limited to 'util/romcc')
-rw-r--r--util/romcc/romcc.c2
1 files changed, 1 insertions, 1 deletions
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)) {