[pypy-commit] pypy result-in-resops: another one

fijal noreply at buildbot.pypy.org
Fri Oct 26 13:28:35 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: result-in-resops
Changeset: r58449:d7e2f9e57135
Date: 2012-10-25 15:29 +0200
http://bitbucket.org/pypy/pypy/changeset/d7e2f9e57135/

Log:	another one

diff --git a/pypy/jit/metainterp/optmodel.py b/pypy/jit/metainterp/optmodel.py
--- a/pypy/jit/metainterp/optmodel.py
+++ b/pypy/jit/metainterp/optmodel.py
@@ -12,6 +12,9 @@
     def getintbound(self):
         return ConstantIntBound(self.getint())
 
+    def getboolbox(self):
+        return False # for optimization
+
 class __extend__(Const):
     def getlastguard(self):
         return None
diff --git a/pypy/jit/metainterp/resoperation.py b/pypy/jit/metainterp/resoperation.py
--- a/pypy/jit/metainterp/resoperation.py
+++ b/pypy/jit/metainterp/resoperation.py
@@ -365,9 +365,6 @@
     def repr_rpython(self):
         return repr_rpython(self, 'ci')
 
-    def getboolbox(self):
-        return False # for optimization
-
 CONST_FALSE = ConstInt(0)
 CONST_TRUE  = ConstInt(1)
 


More information about the pypy-commit mailing list