]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tcg/s390/tcg-target.inc.c
tcg: Reduce max TB opcode count
[mirror_qemu.git] / tcg / s390 / tcg-target.inc.c
index 9af6dcef05f00dcb65bc6efa78026d3564344d08..17c435ade559e343871ee37ec56c19dd36cce3da 100644 (file)
@@ -1783,7 +1783,7 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc,
             /* and go there */
             tcg_out_insn(s, RR, BCR, S390_CC_ALWAYS, TCG_REG_TB);
         }
-        s->tb_jmp_reset_offset[a0] = tcg_current_code_size(s);
+        set_jmp_reset_offset(s, a0);
 
         /* For the unlinked path of goto_tb, we need to reset
            TCG_REG_TB to the beginning of this TB.  */