[pypy-commit] pypy default: Remove a needless try:finally: that goes in the way of printing
arigo
noreply at buildbot.pypy.org
Sun Jul 24 11:39:48 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r45927:8a99e7cc1a06
Date: 2011-07-24 11:39 +0200
http://bitbucket.org/pypy/pypy/changeset/8a99e7cc1a06/
Log: Remove a needless try:finally: that goes in the way of printing
RPython tracebacks.
diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metainterp/pyjitpl.py
--- a/pypy/jit/metainterp/pyjitpl.py
+++ b/pypy/jit/metainterp/pyjitpl.py
@@ -1162,12 +1162,10 @@
metainterp.jitdriver_sd.greenfield_info is not None):
virtualizable_boxes = metainterp.virtualizable_boxes
saved_pc = self.pc
- try:
if resumepc >= 0:
self.pc = resumepc
resume.capture_resumedata(metainterp.framestack, virtualizable_boxes,
metainterp.virtualref_boxes, resumedescr)
- finally:
self.pc = saved_pc
def implement_guard_value(self, orgpc, box):
More information about the pypy-commit
mailing list