[pypy-commit] pypy kill-gen-store-back-in: try to shuffle things around

fijal noreply at buildbot.pypy.org
Tue Mar 26 03:20:29 CET 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: kill-gen-store-back-in
Changeset: r62784:0ac13cef895b
Date: 2013-03-25 19:20 -0700
http://bitbucket.org/pypy/pypy/changeset/0ac13cef895b/

Log:	try to shuffle things around

diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -179,7 +179,6 @@
             executioncontext.return_trace(self, w_exitvalue)
             # clean up the exception, might be useful for not
             # allocating exception objects in some cases
-            self.last_exception = None
             got_exception = False
         finally:
             executioncontext.leave(self, w_exitvalue, got_exception)
diff --git a/pypy/module/pypyjit/interp_jit.py b/pypy/module/pypyjit/interp_jit.py
--- a/pypy/module/pypyjit/interp_jit.py
+++ b/pypy/module/pypyjit/interp_jit.py
@@ -74,6 +74,7 @@
                 next_instr = self.handle_bytecode(co_code, next_instr, ec)
                 is_being_profiled = self.is_being_profiled
         except ExitFrame:
+            self.last_exception = None
             return self.popvalue()
 
     def jump_absolute(self, jumpto, ec):


More information about the pypy-commit mailing list