Author: Maciej Fijalkowski <[email protected]>
Branch: better-jit-hooks
Changeset: r51238:6d90b9e1e3ab
Date: 2012-01-11 19:23 +0200
http://bitbucket.org/pypy/pypy/changeset/6d90b9e1e3ab/

Log:    one more place

diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py
--- a/pypy/jit/metainterp/compile.py
+++ b/pypy/jit/metainterp/compile.py
@@ -91,7 +91,7 @@
             assert descr.exported_state is None 
             if not we_are_translated():
                 op._descr_wref = weakref.ref(op._descr)
-            op._descr = None    # clear reference to prevent the history.Stats
+            op.setdescr(None)    # clear reference to prevent the history.Stats
                                 # from keeping the loop alive during tests
     # record this looptoken on the QuasiImmut used in the code
     if loop.quasi_immutable_deps is not None:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to