diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-08-24 08:34:27 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-10-27 17:11:22 -0700 |
commit | 8d57bf1e82da9c1a71c16b12545a9e8d347690f3 (patch) | |
tree | 99fce8311b1e4df928e956ed2a547a90c07f636d /disas/nios2.c | |
parent | ec5d4cbeef2749c9137daeac1b7f67735510675b (diff) |
tcg/optimize: Change fail return for do_constant_folding_cond*
Return -1 instead of 2 for failure, so that we can
use comparisons against 0 for all cases.
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'disas/nios2.c')
0 files changed, 0 insertions, 0 deletions