Commits

Maciej Fijalkowski  committed 0364dd0

only care about bounds when dealing with ints

  • Participants
  • Parent commits 30128f3
  • Branches result-in-resops

Comments (0)

Files changed (1)

File pypy/jit/metainterp/optimizeopt/intbounds.py

         dispatch_bounds_ops(self, op)
 
     def postprocess_GUARD_TRUE(self, op):
-        self.propagate_bounds_backward(op.getarg(0))
+        if op.getarg(0).type == INT:
+            self.propagate_bounds_backward(op.getarg(0))
 
     postprocess_GUARD_FALSE = postprocess_GUARD_TRUE
     postprocess_GUARD_VALUE = postprocess_GUARD_TRUE