Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: look-into-thread
Changeset: r51197:a72a6f955660
Date: 2012-01-10 12:52 +0200
http://bitbucket.org/pypy/pypy/changeset/a72a6f955660/

Log:    don't look into a function that does add_memory_pressure. We should
        fix it one day

diff --git a/pypy/module/thread/ll_thread.py b/pypy/module/thread/ll_thread.py
--- a/pypy/module/thread/ll_thread.py
+++ b/pypy/module/thread/ll_thread.py
@@ -156,6 +156,7 @@
 
 null_ll_lock = lltype.nullptr(TLOCKP.TO)
 
+@jit.dont_look_inside
 def allocate_ll_lock():
     # track_allocation=False here; be careful to lltype.free() it.  The
     # reason it is set to False is that we get it from all app-level
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to