mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-08-04 06:21:10 +00:00
tcg/i386: constify tcg_target_callee_save_regs
Backports commit e268f4c036d2b47a4f8bf293c1371b328e03ca04 from qemu
This commit is contained in:
parent
75bdfd85a7
commit
3cf23eb256
|
@ -2595,7 +2595,7 @@ static const TCGTargetOpDef *tcg_target_op_def(TCGOpcode op)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int tcg_target_callee_save_regs[] = {
|
static const int tcg_target_callee_save_regs[] = {
|
||||||
#if TCG_TARGET_REG_BITS == 64
|
#if TCG_TARGET_REG_BITS == 64
|
||||||
TCG_REG_RBP,
|
TCG_REG_RBP,
|
||||||
TCG_REG_RBX,
|
TCG_REG_RBX,
|
||||||
|
|
Loading…
Reference in a new issue