[pypy-commit] pypy win64-stage1: fix of is_valid_int call
ctismer
noreply at buildbot.pypy.org
Fri Nov 25 09:59:57 CET 2011
Author: Christian Tismer <tismer at stackless.com>
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)
More information about the pypy-commit
mailing list