Commits

Hakan Ardo committed 667dc96

This is not an optimization that can be disabled but always needed to ensure correct behaviour.

Comments (0)

Files changed (1)

pypy/jit/metainterp/optimizeopt/optimizer.py

     def optimize_SAME_AS(self, op):
         self.make_equal_to(op.result, self.getvalue(op.getarg(0)))
 
+    def optimize_MARK_OPAQUE_PTR(self, op):
+        value = self.getvalue(op.getarg(0))
+        self.optimizer.opaque_pointers[value] = True
 
 dispatch_opt = make_dispatcher_method(Optimizer, 'optimize_',
         default=Optimizer.optimize_default)