[pypy-svn] r62930 - pypy/branch/pyjitpl5/pypy/rlib
arigo at codespeak.net
arigo at codespeak.net
Fri Mar 13 11:57:30 CET 2009
Author: arigo
Date: Fri Mar 13 11:57:29 2009
New Revision: 62930
Modified:
pypy/branch/pyjitpl5/pypy/rlib/rarithmetic.py
Log:
These two are NOT_RPYTHON.
Modified: pypy/branch/pyjitpl5/pypy/rlib/rarithmetic.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/rlib/rarithmetic.py (original)
+++ pypy/branch/pyjitpl5/pypy/rlib/rarithmetic.py Fri Mar 13 11:57:29 2009
@@ -95,6 +95,7 @@
del _bits, _itest, _Ltest
def ovfcheck(r):
+ "NOT_RPYTHON"
# to be used as ovfcheck(x <op> y)
# raise OverflowError if the operation did overflow
assert not isinstance(r, r_uint), "unexpected ovf check on unsigned"
@@ -111,6 +112,7 @@
return r
def ovfcheck_lshift(a, b):
+ "NOT_RPYTHON"
return _local_ovfcheck(int(long(a) << b))
FL_MAXINT = float(LONG_TEST-1)
More information about the Pypy-commit
mailing list