tcg/mips: constify tcg_target_callee_save_regs
Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
e268f4c036
commit
d453ec7825
@ -2341,7 +2341,7 @@ static const TCGTargetOpDef *tcg_target_op_def(TCGOpcode op)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int tcg_target_callee_save_regs[] = {
|
static const int tcg_target_callee_save_regs[] = {
|
||||||
TCG_REG_S0, /* used for the global env (TCG_AREG0) */
|
TCG_REG_S0, /* used for the global env (TCG_AREG0) */
|
||||||
TCG_REG_S1,
|
TCG_REG_S1,
|
||||||
TCG_REG_S2,
|
TCG_REG_S2,
|
||||||
|
Loading…
Reference in New Issue
Block a user