]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target/moxie/translate.c
tcg: define tcg_init_ctx and make tcg_ctx a pointer
[mirror_qemu.git] / target / moxie / translate.c
index 3f1e609028678f867f10ba1360f933c9bed7d7a0..59c70b5ceff807b602a90d01aad63d21432466b6 100644 (file)
@@ -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++)