[pypy-commit] pypy default: This function is elidable

alex_gaynor noreply at buildbot.pypy.org
Sat Sep 7 19:14:39 CEST 2013


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r66837:14ae990a97a7
Date: 2013-09-07 10:13 -0700
http://bitbucket.org/pypy/pypy/changeset/14ae990a97a7/

Log:	This function is elidable

diff --git a/rpython/rlib/rstring.py b/rpython/rlib/rstring.py
--- a/rpython/rlib/rstring.py
+++ b/rpython/rlib/rstring.py
@@ -149,6 +149,7 @@
 
 
 @specialize.argtype(0)
+ at jit.elidable
 def replace(input, sub, by, maxsplit=-1):
     if isinstance(input, str):
         assert isinstance(sub, str)


More information about the pypy-commit mailing list