Author: Armin Rigo <ar...@tunes.org>
Branch: guard-compatible
Changeset: r84637:a50fde54be78
Date: 2016-05-23 21:59 +0200
http://bitbucket.org/pypy/pypy/changeset/a50fde54be78/

Log:    This is needed to get something sane. Before, and on default, it
        works only because there is (I think) no GC possible between
        allocating a frame and invoking the assembler.

diff --git a/rpython/jit/backend/llsupport/jitframe.py 
b/rpython/jit/backend/llsupport/jitframe.py
--- a/rpython/jit/backend/llsupport/jitframe.py
+++ b/rpython/jit/backend/llsupport/jitframe.py
@@ -50,6 +50,7 @@
     frame = lltype.malloc(JITFRAME, frame_info.jfi_frame_depth)
     frame.jf_frame_info = frame_info
     frame.jf_extra_stack_depth = 0
+    frame.jf_gcmap = lltype.nullptr(GCMAP)
     return frame
 
 def jitframe_resolve(frame):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to