mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
Delegate setup of TCG temporaries to targets
Delegate TCG temp_buf setup to targets, so that they can use a stack frame later instead. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
cea5f9a28f
commit
614f104dfd
10 changed files with 18 additions and 2 deletions
|
@ -1566,4 +1566,6 @@ static void tcg_target_init(TCGContext *s)
|
|||
tcg_regset_set_reg(s->reserved_regs, TCG_REG_O6);
|
||||
tcg_regset_set_reg(s->reserved_regs, TCG_REG_O7);
|
||||
tcg_add_target_add_op_defs(sparc_op_defs);
|
||||
tcg_set_frame(s, TCG_AREG0, offsetof(CPUState, temp_buf),
|
||||
CPU_TEMP_BUF_NLONGS * sizeof(long));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue