]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-xtensa/translate.c
TCG: Use gen_opc_icount from context instead of global variable.
[mirror_qemu.git] / target-xtensa / translate.c
index 21126fc39639c4ad0550e6d4e663ff7346712a78..e93c2e6fa826bb818fe729cf74eb966dd515eb52 100644 (file)
@@ -2902,7 +2902,7 @@ static void gen_intermediate_code_internal(
             }
             tcg_ctx.gen_opc_pc[lj] = dc.pc;
             gen_opc_instr_start[lj] = 1;
-            gen_opc_icount[lj] = insn_count;
+            tcg_ctx.gen_opc_icount[lj] = insn_count;
         }
 
         if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) {