aboutsummaryrefslogtreecommitdiff
path: root/target/moxie/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/moxie/translate.c')
-rw-r--r--target/moxie/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/moxie/translate.c b/target/moxie/translate.c
index 3f1e609028..59c70b5cef 100644
--- a/target/moxie/translate.c
+++ b/target/moxie/translate.c
@@ -102,7 +102,7 @@ void moxie_translate_init(void)
};
cpu_env = tcg_global_reg_new_ptr(TCG_AREG0, "env");
- tcg_ctx.tcg_env = cpu_env;
+ tcg_ctx->tcg_env = cpu_env;
cpu_pc = tcg_global_mem_new_i32(cpu_env,
offsetof(CPUMoxieState, pc), "$pc");
for (i = 0; i < 16; i++)