aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-29 08:59:48 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-29 08:59:48 +0000
commit31741a27fa26e195c5600f13f9f1190c667bc64c (patch)
tree5596ef7ad5dff284495cdc216664bd6077dceb0d
parente89f00e6a3fcba77ce5ffd616a2ca93de5c8fcab (diff)
Accidentally dropped one change from previous commit
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4129 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--target-sparc/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 1a598f38cc..660407cf67 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -1685,8 +1685,8 @@ static inline void gen_stf_asi(TCGv addr, int insn, int size, int rd)
{
TCGv r_asi;
- r_asi = gen_get_asi(insn, cpu_T[0]);
- tcg_gen_helper_0_4(helper_stf_asi, cpu_T[0], r_asi, tcg_const_i32(size),
+ r_asi = gen_get_asi(insn, addr);
+ tcg_gen_helper_0_4(helper_stf_asi, addr, r_asi, tcg_const_i32(size),
tcg_const_i32(rd));
tcg_gen_discard_i32(r_asi);
}