]> git.proxmox.com Git - qemu.git/blobdiff - target-cris/translate.c
TCG: Use gen_opc_icount from context instead of global variable.
[qemu.git] / target-cris / translate.c
index 745cd7acb4ccf48e7fcf3c7416e7867023f06191..6ec8c3c2840a293ab27b954e5d6f3ae92db75959 100644 (file)
@@ -3310,7 +3310,7 @@ gen_intermediate_code_internal(CPUCRISState *env, TranslationBlock *tb,
                 tcg_ctx.gen_opc_pc[lj] = dc->pc;
             }
             gen_opc_instr_start[lj] = 1;
-            gen_opc_icount[lj] = num_insns;
+            tcg_ctx.gen_opc_icount[lj] = num_insns;
         }
 
         /* Pretty disas.  */