Commits

Armin Rigo committed 9eb0fcf

Comments.

Comments (0)

Files changed (2)

pypy/jit/metainterp/optimizeopt/heap.py

     def optimize_GUARD_NOT_INVALIDATED(self, op):
         if self._remove_guard_not_invalidated:
             return
-        self._remove_guard_not_invalidated = False        # XXX ???
         if self._seen_guard_not_invalidated:
             return
         self._seen_guard_not_invalidated = True

pypy/jit/metainterp/optimizeopt/simplify.py

         self.emit_operation(op)
 
     def optimize_QUASIIMMUT_FIELD(self, op):
+        # xxx ideally we could also kill the following GUARD_NOT_INVALIDATED
+        #     but it's a bit hard to implement robustly if heap.py is also run
         pass
 
     def propagate_forward(self, op):