1. Pypy
  2. Untitled project
  3. pypy

Commits

Maciej Fijalkowski  committed d7e2f9e

another one

  • Participants
  • Parent commits d7ca4db
  • Branches result-in-resops

Comments (0)

Files changed (2)

File pypy/jit/metainterp/optmodel.py

View file
  • Ignore whitespace
     def getintbound(self):
         return ConstantIntBound(self.getint())
 
+    def getboolbox(self):
+        return False # for optimization
+
 class __extend__(Const):
     def getlastguard(self):
         return None

File pypy/jit/metainterp/resoperation.py

View file
  • Ignore whitespace
     def repr_rpython(self):
         return repr_rpython(self, 'ci')
 
-    def getboolbox(self):
-        return False # for optimization
-
 CONST_FALSE = ConstInt(0)
 CONST_TRUE  = ConstInt(1)