Commits

Alex Gaynor committed e72d4f5

INSTANCE_PTR_{EQ,NE} also do not escape their arguments in the JIT

  • Participants
  • Parent commits c30cb1d

Comments (0)

Files changed (1)

File pypy/jit/metainterp/heapcache.py

         elif (opnum != rop.GETFIELD_GC and
               opnum != rop.MARK_OPAQUE_PTR and
               opnum != rop.PTR_EQ and
-              opnum != rop.PTR_NE):
+              opnum != rop.PTR_NE and
+              opnum != rop.INSTANCE_PTR_EQ and
+              opnum != rop.INSTANCE_PTR_NE):
             idx = 0
             for box in argboxes:
                 # setarrayitem_gc don't escape its first argument