diff options
Diffstat (limited to 'target-lm32/translate.c')
-rw-r--r-- | target-lm32/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-lm32/translate.c b/target-lm32/translate.c index 526b4374e6..2d8caebbfc 100644 --- a/target-lm32/translate.c +++ b/target-lm32/translate.c @@ -1202,6 +1202,7 @@ void lm32_translate_init(void) int i; cpu_env = tcg_global_reg_new_ptr(TCG_AREG0, "env"); + tcg_ctx.tcg_env = cpu_env; for (i = 0; i < ARRAY_SIZE(cpu_R); i++) { cpu_R[i] = tcg_global_mem_new(cpu_env, |