Author: Maciej Fijalkowski <[email protected]>
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)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to