[pypy-commit] pypy default: Allow inlining into ll_append_noresize, which is perfectly safe.

alex_gaynor noreply at buildbot.pypy.org
Tue Jun 21 01:23:38 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r45032:62d699e0ebaa
Date: 2011-06-20 16:27 -0700
http://bitbucket.org/pypy/pypy/changeset/62d699e0ebaa/

Log:	Allow inlining into ll_append_noresize, which is perfectly safe.

diff --git a/pypy/rpython/lltypesystem/rlist.py b/pypy/rpython/lltypesystem/rlist.py
--- a/pypy/rpython/lltypesystem/rlist.py
+++ b/pypy/rpython/lltypesystem/rlist.py
@@ -250,12 +250,11 @@
     length = l.length
     l.length = length + 1
     l.ll_setitem_fast(length, newitem)
-ll_append_noresize.oopspec = 'list.append(l, newitem)'
 
 
 def ll_both_none(lst1, lst2):
     return not lst1 and not lst2
-        
+
 
 # ____________________________________________________________
 #


More information about the pypy-commit mailing list