Author: fijal
Branch: 
Changeset: r79972:dbfc6a7583c9
Date: 2015-10-04 14:39 +0200
http://bitbucket.org/pypy/pypy/changeset/dbfc6a7583c9/

Log:    it really should not make a difference but crashes pypy

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
@@ -2312,7 +2312,7 @@
         assert isinstance(key, compile.ResumeGuardDescr)
         # store the resumekey.wref_original_loop_token() on 'self' to make
         # sure that it stays alive as long as this MetaInterp
-        self.resumekey_original_loop_token = 
key.rd_loop_token.loop_token_wref()
+        self.resumekey_original_loop_token = 
resumedescr.rd_loop_token.loop_token_wref()
         if self.resumekey_original_loop_token is None:
             raise compile.giveup() # should be rare
         self.staticdata.try_to_free_some_loops()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to