[pypy-commit] pypy default: Fix (probably) this jit.elidable here
arigo
noreply at buildbot.pypy.org
Tue Feb 25 14:58:01 CET 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r69421:f3e717c94913
Date: 2014-02-25 14:57 +0100
http://bitbucket.org/pypy/pypy/changeset/f3e717c94913/
Log: Fix (probably) this jit.elidable here
diff --git a/pypy/objspace/std/intobject.py b/pypy/objspace/std/intobject.py
--- a/pypy/objspace/std/intobject.py
+++ b/pypy/objspace/std/intobject.py
@@ -622,7 +622,6 @@
sys.maxint == 2147483647)
- at jit.elidable
def _string_to_int_or_long(space, w_source, string, base=10):
w_longval = None
value = 0
diff --git a/rpython/rlib/rarithmetic.py b/rpython/rlib/rarithmetic.py
--- a/rpython/rlib/rarithmetic.py
+++ b/rpython/rlib/rarithmetic.py
@@ -709,5 +709,4 @@
result = ovfcheck(result + digit)
except OverflowError:
raise ParseStringOverflowError(p)
-
-
+string_to_int._elidable_function_ = True
More information about the pypy-commit
mailing list