diff options
author | Armin Rigo <arigo@tunes.org> | 2011-08-02 17:14:35 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2011-08-02 17:14:35 +0200 |
commit | aa22c805929ea646f0987718443190383703983a (patch) | |
tree | 83f6c4703c441d0c36c1b7e9764657926afc1236 | |
parent | Fix for 64-bit. It's a bit more complicated, but not much. (diff) | |
download | pypy-aa22c805929ea646f0987718443190383703983a.tar.gz pypy-aa22c805929ea646f0987718443190383703983a.tar.bz2 pypy-aa22c805929ea646f0987718443190383703983a.zip |
Add an assert.
-rw-r--r-- | pypy/jit/metainterp/compile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py index 1c9efae1b8..3b117726d7 100644 --- a/pypy/jit/metainterp/compile.py +++ b/pypy/jit/metainterp/compile.py @@ -668,6 +668,7 @@ class PropagateExceptionDescr(AbstractFailDescr): def handle_fail(self, metainterp_sd, jitdriver_sd): cpu = metainterp_sd.cpu exception = cpu.grab_exc_value() + assert exception, "PropagateExceptionDescr: no exception??" raise metainterp_sd.ExitFrameWithExceptionRef(cpu, exception) propagate_exception_descr = PropagateExceptionDescr() |