tcg/i386: constify tcg_target_callee_save_regs

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

View file

@ -2595,7 +2595,7 @@ static const TCGTargetOpDef *tcg_target_op_def(TCGOpcode op)
return NULL;
}
static int tcg_target_callee_save_regs[] = {
static const int tcg_target_callee_save_regs[] = {
#if TCG_TARGET_REG_BITS == 64
TCG_REG_RBP,
TCG_REG_RBX,