Commit e4704b3b119d62df2fd3613b5a3c05fbb93ba80c
1 parent
eaa449b9
Fix TCG error in gen_avr_ptr.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6152 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-ppc/translate.c
... | ... | @@ -6085,7 +6085,7 @@ GEN_HANDLER2(icbt_440, "icbt", 0x1F, 0x16, 0x00, 0x03E00001, PPC_BOOKE) |
6085 | 6085 | |
6086 | 6086 | static always_inline TCGv_ptr gen_avr_ptr(int reg) |
6087 | 6087 | { |
6088 | - TCGv_ptr r = tcg_temp_new(); | |
6088 | + TCGv_ptr r = tcg_temp_new_ptr(); | |
6089 | 6089 | tcg_gen_addi_ptr(r, cpu_env, offsetof(CPUPPCState, avr[reg])); |
6090 | 6090 | return r; |
6091 | 6091 | } | ... | ... |