Author: Christian Tismer <[email protected]>
Branch: win64-stage1
Changeset: r49337:c8e869f3da71
Date: 2011-11-11 19:34 +0100
http://bitbucket.org/pypy/pypy/changeset/c8e869f3da71/

Log:    removed a check in r_bigint that creates more problems now than it
        solves

diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py
--- a/pypy/rlib/rbigint.py
+++ b/pypy/rlib/rbigint.py
@@ -44,8 +44,6 @@
 
 
 def _mask_digit(x):
-    if not we_are_translated():
-        assert is_valid_int(x>>1), "overflow occurred!"
     return intmask(x & MASK)
 _mask_digit._annspecialcase_ = 'specialize:argtype(0)'
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to