Commits

Alex Gaynor  committed 92aef69

The result of virtual_ref operation is new.

  • Participants
  • Parent commits d2fdac3
  • Branches logging-perf

Comments (0)

Files changed (1)

File rpython/jit/metainterp/pyjitpl.py

         obj = box.getref_base()
         vref = vrefinfo.virtual_ref_during_tracing(obj)
         resbox = history.BoxPtr(vref)
+        self.metainterp.heapcache.new(resbox)
         cindex = history.ConstInt(len(metainterp.virtualref_boxes) // 2)
         metainterp.history.record(rop.VIRTUAL_REF, [box, cindex], resbox)
         # Note: we allocate a JIT_VIRTUAL_REF here