[pypy-commit] pypy vmprof2: fix rpython

fijal noreply at buildbot.pypy.org
Sun Apr 19 14:09:30 CEST 2015


Author: Maciej Fijalkowski <fijall at 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


More information about the pypy-commit mailing list