Author: Antonio Cuni <[email protected]>
Branch: invalidate-virtualrefs
Changeset: r44480:4f845a5a8b69
Date: 2011-05-25 15:08 +0200
http://bitbucket.org/pypy/pypy/changeset/4f845a5a8b69/
Log: fix the call to vref_finish in ec.leave()
diff --git a/pypy/interpreter/executioncontext.py
b/pypy/interpreter/executioncontext.py
--- a/pypy/interpreter/executioncontext.py
+++ b/pypy/interpreter/executioncontext.py
@@ -63,8 +63,9 @@
if self.profilefunc:
self._trace(frame, 'leaveframe', w_exitvalue)
finally:
+ vref = self.topframeref
self.topframeref = frame.f_backref
- jit.virtual_ref_finish(frame)
+ jit.virtual_ref_finish(vref, frame)
if self.w_tracefunc is not None and not frame.hide():
self.space.frame_trace_action.fire()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit