[pypy-svn] r60179 - pypy/branch/oo-jit/pypy/rpython

arigo at codespeak.net arigo at codespeak.net
Thu Nov 27 12:58:17 CET 2008


Author: arigo
Date: Thu Nov 27 12:58:15 2008
New Revision: 60179

Modified:
   pypy/branch/oo-jit/pypy/rpython/rlist.py
Log:
Support for list.extend.  Hopefully I don't break anything
in this JIT while adding this for pyjitpl...


Modified: pypy/branch/oo-jit/pypy/rpython/rlist.py
==============================================================================
--- pypy/branch/oo-jit/pypy/rpython/rlist.py	(original)
+++ pypy/branch/oo-jit/pypy/rpython/rlist.py	Thu Nov 27 12:58:15 2008
@@ -770,6 +770,7 @@
         l1.ll_setitem_fast(j, l2.ll_getitem_fast(i))
         i += 1
         j += 1
+ll_extend.oopspec = 'list.extend(l1, l2)'
 
 def ll_extend_with_str(lst, s, getstrlen, getstritem):
     return ll_extend_with_str_slice_startonly(lst, s, getstrlen, getstritem, 0)



More information about the Pypy-commit mailing list