aboutsummaryrefslogtreecommitdiff
path: root/target/arm/tcg/translate-a32.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/arm/tcg/translate-a32.h')
-rw-r--r--target/arm/tcg/translate-a32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/tcg/translate-a32.h b/target/arm/tcg/translate-a32.h
index 48a15379d2..19de6e0a1a 100644
--- a/target/arm/tcg/translate-a32.h
+++ b/target/arm/tcg/translate-a32.h
@@ -55,7 +55,7 @@ bool mve_skip_vmov(DisasContext *s, int vn, int index, int size);
static inline TCGv_i32 load_cpu_offset(int offset)
{
TCGv_i32 tmp = tcg_temp_new_i32();
- tcg_gen_ld_i32(tmp, cpu_env, offset);
+ tcg_gen_ld_i32(tmp, tcg_env, offset);
return tmp;
}