[pypy-commit] pypy stacklet: Oups.

arigo noreply at buildbot.pypy.org
Sat Aug 6 16:02:03 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: stacklet
Changeset: r46320:84d9ff026cc0
Date: 2011-08-06 13:04 +0200
http://bitbucket.org/pypy/pypy/changeset/84d9ff026cc0/

Log:	Oups.

diff --git a/pypy/module/_stacklet/interp_stacklet.py b/pypy/module/_stacklet/interp_stacklet.py
--- a/pypy/module/_stacklet/interp_stacklet.py
+++ b/pypy/module/_stacklet/interp_stacklet.py
@@ -1,6 +1,6 @@
 import sys
 from pypy.rpython.lltypesystem import lltype, rffi
-from pypy.rlib import rstacklet
+from pypy.rlib import rstacklet, jit
 from pypy.rlib.objectmodel import we_are_translated
 from pypy.interpreter.error import OperationError
 from pypy.interpreter.executioncontext import ExecutionContext
@@ -146,6 +146,7 @@
     start_state.w_callable = w_callable
     start_state.args = __args__
     saved_frame_top = ec.topframeref
+    ec.topframeref = jit.vref_None
     h = rstacklet.new(sthread.thrd, new_stacklet_callback,
                       lltype.nullptr(rffi.VOIDP.TO))
     ec.topframeref = saved_frame_top


More information about the pypy-commit mailing list