tcg: Reindent parts of liveness_pass_1

There are two blocks of the form

    if (foo) {
        stuff1;
        goto bar;
    } else {
    baz:
        stuff2;
    }

which have unnecessary and confusing indentation.
Remove the else and unindent stuff2.

Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2018-11-27 13:32:33 -08:00
parent 1894f69a61
commit 152c35aab4
1 changed files with 71 additions and 68 deletions

View File

@ -2436,7 +2436,7 @@ static void liveness_pass_1(TCGContext *s)
}
}
goto do_remove;
} else {
}
do_not_remove_call:
/* output args are dead */
@ -2479,7 +2479,6 @@ static void liveness_pass_1(TCGContext *s)
}
}
}
}
break;
case INDEX_op_insn_start:
break;
@ -2580,9 +2579,14 @@ static void liveness_pass_1(TCGContext *s)
goto do_not_remove;
}
}
goto do_remove;
}
goto do_not_remove;
do_remove:
tcg_op_remove(s, op);
} else {
break;
do_not_remove:
/* output args are dead */
for (i = 0; i < nb_oargs; i++) {
@ -2617,7 +2621,6 @@ static void liveness_pass_1(TCGContext *s)
for (i = nb_oargs; i < nb_oargs + nb_iargs; i++) {
arg_temp(op->args[i])->state &= ~TS_DEAD;
}
}
break;
}
op->life = arg_life;