]> git.proxmox.com Git - qemu.git/blobdiff - target-ppc/translate.c
TCG: Use gen_opc_icount from context instead of global variable.
[qemu.git] / target-ppc / translate.c
index 276edc82ed9a51808c99d5633d640a60b1cd10e5..7fdde5fae78eea08d92cbd6e7a0b2866ee056c27 100644 (file)
@@ -9684,7 +9684,7 @@ static inline void gen_intermediate_code_internal(CPUPPCState *env,
             }
             tcg_ctx.gen_opc_pc[lj] = ctx.nip;
             gen_opc_instr_start[lj] = 1;
-            gen_opc_icount[lj] = num_insns;
+            tcg_ctx.gen_opc_icount[lj] = num_insns;
         }
         LOG_DISAS("----------------\n");
         LOG_DISAS("nip=" TARGET_FMT_lx " super=%d ir=%d\n",