[pypy-commit] pypy stmgc-c4: more jit.dont_look_inside needed after merge

Raemi noreply at buildbot.pypy.org
Fri Sep 6 11:12:44 CEST 2013


Author: Remi Meier <remi.meier at gmail.com>
Branch: stmgc-c4
Changeset: r66818:f7c74429d527
Date: 2013-09-06 11:11 +0200
http://bitbucket.org/pypy/pypy/changeset/f7c74429d527/

Log:	more jit.dont_look_inside needed after merge

diff --git a/pypy/module/__pypy__/interp_signal.py b/pypy/module/__pypy__/interp_signal.py
--- a/pypy/module/__pypy__/interp_signal.py
+++ b/pypy/module/__pypy__/interp_signal.py
@@ -1,6 +1,9 @@
+from rpython.rlib import jit
 
+ at jit.dont_look_inside
 def signals_enter(space):
     space.threadlocals.enable_signals(space)
 
+ at jit.dont_look_inside
 def signals_exit(space, w_ignored1=None, w_ignored2=None, w_ignored3=None):
     space.threadlocals.disable_signals(space)
diff --git a/pypy/module/thread/stm.py b/pypy/module/thread/stm.py
--- a/pypy/module/thread/stm.py
+++ b/pypy/module/thread/stm.py
@@ -28,6 +28,7 @@
     if not we_are_translated() and not hasattr(ec, '_thread_local_dicts'):
         initialize_execution_context(ec)
 
+ at jit.dont_look_inside # XXX: handle abort_info_push in JIT
 def enter_frame(ec, frame):
     """Called from ExecutionContext.enter()."""
     if frame.hide():
diff --git a/rpython/rlib/rstm.py b/rpython/rlib/rstm.py
--- a/rpython/rlib/rstm.py
+++ b/rpython/rlib/rstm.py
@@ -58,7 +58,6 @@
 def is_atomic():
     return llop.stm_get_atomic(lltype.Signed)
 
- at dont_look_inside
 def abort_info_push(instance, fieldnames):
     "Special-cased below."
 


More information about the pypy-commit mailing list