mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
tcg: Remove tcg_regset_clear
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
be0f34b584
commit
ccb1bb66ea
10 changed files with 14 additions and 16 deletions
|
@ -2173,7 +2173,7 @@ static void tcg_target_init(TCGContext *s)
|
|||
(1 << TCG_REG_R12) |
|
||||
(1 << TCG_REG_R14));
|
||||
|
||||
tcg_regset_clear(s->reserved_regs);
|
||||
s->reserved_regs = 0;
|
||||
tcg_regset_set_reg(s->reserved_regs, TCG_REG_CALL_STACK);
|
||||
tcg_regset_set_reg(s->reserved_regs, TCG_REG_TMP);
|
||||
tcg_regset_set_reg(s->reserved_regs, TCG_REG_PC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue