diff options
Diffstat (limited to 'target-alpha')
-rw-r--r-- | target-alpha/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c index f9b2426636..243567b8fc 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -151,6 +151,7 @@ void alpha_translate_init(void) done_init = 1; cpu_env = tcg_global_reg_new_ptr(TCG_AREG0, "env"); + tcg_ctx.tcg_env = cpu_env; for (i = 0; i < 31; i++) { cpu_std_ir[i] = tcg_global_mem_new_i64(cpu_env, |