mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -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
|
@ -1771,7 +1771,7 @@ static void tcg_target_init(TCGContext *s)
|
|||
(1 << TCG_REG_O5) |
|
||||
(1 << TCG_REG_O7));
|
||||
|
||||
tcg_regset_clear(s->reserved_regs);
|
||||
s->reserved_regs = 0;
|
||||
tcg_regset_set_reg(s->reserved_regs, TCG_REG_G0); /* zero */
|
||||
tcg_regset_set_reg(s->reserved_regs, TCG_REG_G6); /* reserved for os */
|
||||
tcg_regset_set_reg(s->reserved_regs, TCG_REG_G7); /* thread pointer */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue