Author: Armin Rigo <[email protected]>
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))
+@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)
+@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
+@dont_look_inside
def create_hashtable():
if not we_are_translated():
return HashtableForTest() # for tests
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit