Commits

Armin Rigo committed 966942d

Backout b58a2c01fd59, adding this check again. I'm not sure, but I think
it should be fixed by 3a0ef8f31265.

  • Participants
  • Parent commits 3a0ef8f

Comments (0)

Files changed (1)

File rpython/jit/metainterp/pyjitpl.py

         if tobox is not None:
             # sanity check: see whether the current struct value
             # corresponds to what the cache thinks the value is
-            # XXX pypy with the following check fails on micronumpy,
-            # XXX investigate
-            #resbox = executor.execute(self.metainterp.cpu, self.metainterp,
-            #                          rop.GETFIELD_GC, fielddescr, box)
-            #assert resbox.constbox().same_constant(tobox.constbox())
+            resbox = executor.execute(self.metainterp.cpu, self.metainterp,
+                                      rop.GETFIELD_GC, fielddescr, box)
+            assert resbox.constbox().same_constant(tobox.constbox())
             return tobox
         resbox = self.execute_with_descr(opnum, fielddescr, box)
         self.metainterp.heapcache.getfield_now_known(box, fielddescr, resbox)