1. Brocki2301
  2. pypy

Commits

Hakan Ardo  committed ce1be41

no intbound means unbounded

  • Participants
  • Parent commits 1efa199
  • Branches jit-short_from_state

Comments (0)

Files changed (1)

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

View file
  • Ignore whitespace
                                                       MININT, MAXINT, OptValue
 from pypy.jit.metainterp.history import BoxInt, ConstInt, BoxPtr, Const
 from pypy.jit.metainterp.optimizeutil import InvalidLoop
-from pypy.jit.metainterp.optimizeopt.intutils import IntBound
+from pypy.jit.metainterp.optimizeopt.intutils import IntBound, IntUnbounded
 from pypy.jit.metainterp.resoperation import rop, ResOperation
 from pypy.rlib.objectmodel import we_are_translated
 from pypy.rlib.debug import debug_start, debug_stop, debug_print
         self.known_class = value.known_class
         self.level = value.level
         if value.intbound is None:
-            self.intbound = IntBound(MININT, MAXINT)
+            self.intbound = IntUnbounded()
         else:
             self.intbound = value.intbound.clone()
         if value.is_constant():