[pypy-commit] pypy stmgc-c7: more dont_look_insides

arigo noreply at buildbot.pypy.org
Wed Nov 19 01:30:52 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r74585:28d9f49a5bf2
Date: 2014-11-19 01:30 +0100
http://bitbucket.org/pypy/pypy/changeset/28d9f49a5bf2/

Log:	more dont_look_insides

diff --git a/rpython/rlib/rstm.py b/rpython/rlib/rstm.py
--- a/rpython/rlib/rstm.py
+++ b/rpython/rlib/rstm.py
@@ -182,10 +182,12 @@
                                        ('index', lltype.Unsigned),
                                        ('object', llmemory.GCREF))
 
+ at dont_look_inside
 def ll_hashtable_get(h, key):
     # 'key' must be a plain integer.  Returns a GCREF.
     return llop.stm_hashtable_read(llmemory.GCREF, h, h.ll_raw_hashtable, key)
 
+ at dont_look_inside
 def ll_hashtable_set(h, key, value):
     llop.stm_hashtable_write(lltype.Void, h, h.ll_raw_hashtable, key, value)
 
@@ -203,6 +205,7 @@
 
 _false = CDefinedIntSymbolic('0', default=0)    # remains in the C code
 
+ at dont_look_inside
 def create_hashtable():
     if not we_are_translated():
         return HashtableForTest()      # for tests


More information about the pypy-commit mailing list