[pypy-commit] pypy slim-down-resumedescr: grrr untested case

fijal noreply at buildbot.pypy.org
Thu Dec 25 20:57:22 CET 2014


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: slim-down-resumedescr
Changeset: r75120:d2c413fe8562
Date: 2014-12-25 21:57 +0200
http://bitbucket.org/pypy/pypy/changeset/d2c413fe8562/

Log:	grrr untested case

diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py
--- a/rpython/jit/metainterp/pyjitpl.py
+++ b/rpython/jit/metainterp/pyjitpl.py
@@ -2141,7 +2141,7 @@
         # sure that it stays alive as long as this MetaInterp
         self.resumekey_original_loop_token = key.rd_loop_token.loop_token_wref()
         if self.resumekey_original_loop_token is None:
-            self.giveup() # should be rare
+            raise compile.giveup() # should be rare
         self.staticdata.try_to_free_some_loops()
         self.initialize_state_from_guard_failure(key, deadframe)
         try:


More information about the pypy-commit mailing list