mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
target/i386: do not use s->tmp4 for push
Just create a temporary for the occasion. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
80e55f54ac
commit
1ec46bf237
1 changed files with 1 additions and 1 deletions
|
@ -2580,7 +2580,7 @@ static void gen_push_v(DisasContext *s, TCGv val)
|
|||
|
||||
if (!CODE64(s)) {
|
||||
if (ADDSEG(s)) {
|
||||
new_esp = s->tmp4;
|
||||
new_esp = tcg_temp_new();
|
||||
tcg_gen_mov_tl(new_esp, s->A0);
|
||||
}
|
||||
gen_lea_v_seg(s, a_ot, s->A0, R_SS, -1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue