[pypy-svn] r62775 - pypy/trunk/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Mon Mar 9 19:19:53 CET 2009


Author: fijal
Date: Mon Mar  9 19:19:51 2009
New Revision: 62775

Modified:
   pypy/trunk/pypy/jit/metainterp/warmspot.py
Log:
actually this is the right order...


Modified: pypy/trunk/pypy/jit/metainterp/warmspot.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/warmspot.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/warmspot.py	Mon Mar  9 19:19:51 2009
@@ -306,7 +306,7 @@
                     return unwrap(RESULT, e.resultbox)
                 except ExitFrameWithException, e:
                     value = e.valuebox.getptr(lltype.Ptr(rclass.OBJECT))
-                    if we_are_translated():
+                    if not we_are_translated():
                         type = e.typebox.getaddr(self.metainterp.cpu)
                         type = llmemory.cast_adr_to_ptr(type, rclass.CLASSTYPE)
                         raise LLException(type, value)



More information about the Pypy-commit mailing list