tcg/mips: constify tcg_target_callee_save_regs

Backports commit d453ec78251d03cbd4ffc28dbf6070931c8ae469 from qemu
This commit is contained in:
Emilio G. Cota 2018-03-05 02:08:34 -05:00 committed by Lioncash
parent 3cf23eb256
commit f1d6630893
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -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_S1,
TCG_REG_S2,