[pypy-svn] r64681 - pypy/branch/pyjitpl5/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Sat Apr 25 19:54:44 CEST 2009


Author: arigo
Date: Sat Apr 25 19:54:44 2009
New Revision: 64681

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py
Log:
Oups


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py	Sat Apr 25 19:54:44 2009
@@ -1019,10 +1019,12 @@
         for j in range(len(self.framestack)):
             f = self.framestack[j]
             #
-            if isinstance(f.exception_box, BoxInt):
+            box = f.exception_box
+            if isinstance(box, BoxInt):
                 box.changevalue_int(saved_env[i].getint())
                 i += 1
-            if isinstance(f.exc_value_box, BoxPtr):
+            box = f.exc_value_box
+            if isinstance(box, BoxPtr):
                 box.changevalue_ptr(saved_env[i].getptr_base())
                 i += 1
             #



More information about the Pypy-commit mailing list