Author: Christian Tismer <[email protected]>
Branch: win64-stage1
Changeset: r49782:368cbded0c77
Date: 2011-11-25 09:58 +0100
http://bitbucket.org/pypy/pypy/changeset/368cbded0c77/

Log:    fix of is_valid_int call

diff --git a/pypy/jit/metainterp/history.py b/pypy/jit/metainterp/history.py
--- a/pypy/jit/metainterp/history.py
+++ b/pypy/jit/metainterp/history.py
@@ -269,7 +269,7 @@
 
     def __init__(self, value):
         if not we_are_translated():
-            if is_valid_int(value):
+            if is_valid_int(value, force_type=False):
                 value = int(value)    # bool -> int
             else:
                 assert isinstance(value, Symbolic)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to