]> git.proxmox.com Git - qemu.git/blobdiff - target-openrisc/translate.c
TCG: Use gen_opc_icount from context instead of global variable.
[qemu.git] / target-openrisc / translate.c
index b7ad6a4ef6f3b9b49789a132e85fe1c1f1986663..5b083147233a13bd2b84d042308baeeb81c7e2e2 100644 (file)
@@ -1712,7 +1712,7 @@ static inline void gen_intermediate_code_internal(OpenRISCCPU *cpu,
             }
             tcg_ctx.gen_opc_pc[k] = dc->pc;
             gen_opc_instr_start[k] = 1;
-            gen_opc_icount[k] = num_insns;
+            tcg_ctx.gen_opc_icount[k] = num_insns;
         }
 
         if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) {