[pypy-svn] r70819 - pypy/branch/direct-assembler-call/pypy/jit/backend/llgraph
fijal at codespeak.net
fijal at codespeak.net
Mon Jan 25 10:57:44 CET 2010
Author: fijal
Date: Mon Jan 25 10:57:44 2010
New Revision: 70819
Modified:
pypy/branch/direct-assembler-call/pypy/jit/backend/llgraph/llimpl.py
Log:
check the return value while returning with exception
Modified: pypy/branch/direct-assembler-call/pypy/jit/backend/llgraph/llimpl.py
==============================================================================
--- pypy/branch/direct-assembler-call/pypy/jit/backend/llgraph/llimpl.py (original)
+++ pypy/branch/direct-assembler-call/pypy/jit/backend/llgraph/llimpl.py Mon Jan 25 10:57:44 2010
@@ -844,6 +844,10 @@
except LLException, lle:
assert _last_exception is None, "exception left behind"
_last_exception = lle
+ # fish op
+ op = self.loop.operations[self.opindex]
+ if op.result is not None:
+ return 0
finally:
self._may_force = -1
More information about the Pypy-commit
mailing list