[pypy-svn] r71328 - pypy/trunk/pypy/rpython

cfbolz at codespeak.net cfbolz at codespeak.net
Fri Feb 19 14:55:45 CET 2010


Author: cfbolz
Date: Fri Feb 19 14:55:44 2010
New Revision: 71328

Modified:
   pypy/trunk/pypy/rpython/rlist.py
Log:
(arigo, cfbolz): enforce the annotations of ll_arraycopy to be general ints


Modified: pypy/trunk/pypy/rpython/rlist.py
==============================================================================
--- pypy/trunk/pypy/rpython/rlist.py	(original)
+++ pypy/trunk/pypy/rpython/rlist.py	Fri Feb 19 14:55:44 2010
@@ -537,6 +537,7 @@
             item = source.ll_getitem_fast(source_start + i)
             dest.ll_setitem_fast(dest_start + i, item)
             i += 1
+ll_arraycopy._annenforceargs_ = [None, None, int, int, int]
 
 def ll_copy(RESLIST, l):
     length = l.ll_length()



More information about the Pypy-commit mailing list