Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: vmprof2
Changeset: r76831:3b3feb9827e1
Date: 2015-04-19 14:09 +0200
http://bitbucket.org/pypy/pypy/changeset/3b3feb9827e1/

Log:    fix rpython

diff --git a/rpython/jit/metainterp/pyjitpl.py 
b/rpython/jit/metainterp/pyjitpl.py
--- a/rpython/jit/metainterp/pyjitpl.py
+++ b/rpython/jit/metainterp/pyjitpl.py
@@ -1162,8 +1162,8 @@
             # it must be the call to 'self', and not the jit_merge_point
             # itself, which has no result at all.
             assert len(self.metainterp.framestack) >= 2
+            old_frame = self.metainterp.framestack[-1]
             try:
-                old_frame = self.metainterp.framestack[-1]
                 self.metainterp.finishframe(None, leave_portal_frame=False)
             except ChangeFrame:
                 pass
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to