[pypy-commit] pypy fast_cffi_list_init: merge heads

antocuni noreply at buildbot.pypy.org
Fri Oct 11 15:02:42 CEST 2013


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: fast_cffi_list_init
Changeset: r67316:4a5a1fe77f06
Date: 2013-10-11 15:02 +0200
http://bitbucket.org/pypy/pypy/changeset/4a5a1fe77f06/

Log:	merge heads

diff --git a/rpython/rlib/rarray.py b/rpython/rlib/rarray.py
--- a/rpython/rlib/rarray.py
+++ b/rpython/rlib/rarray.py
@@ -1,6 +1,7 @@
 from rpython.annotator import model as annmodel
 from rpython.annotator.listdef import ListDef
 from rpython.rlib.objectmodel import specialize
+from rpython.rlib import jit
 from rpython.rtyper.lltypesystem import lltype, llmemory
 from rpython.rtyper.extregistry import ExtRegistryEntry
 from rpython.tool.pairtype import pair
@@ -48,6 +49,7 @@
 get_raw_buf._always_inline_ = True
 
 
+ at jit.dont_look_inside
 def ll_copy_list_to_raw_array(ll_list, dst_ptr):
     # this code is delicate: we must ensure that there are no GC operations
     # around the call to raw_memcopy
@@ -61,6 +63,7 @@
     # end of no-GC section
 
 
+ at jit.dont_look_inside
 def ll_populate_list_from_raw_array(ll_list, src_ptr, length):
     ITEM = lltype.typeOf(src_ptr).TO.OF
     size = llmemory.sizeof(ITEM) * length


More information about the pypy-commit mailing list