Author: Armin Rigo <ar...@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)
 
 
-@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
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to