[pypy-commit] pypy x86-dump-labels: fix test

antocuni noreply at buildbot.pypy.org
Fri May 13 17:34:56 CEST 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: x86-dump-labels
Changeset: r44141:ceba8e6adde3
Date: 2011-05-13 17:40 +0200
http://bitbucket.org/pypy/pypy/changeset/ceba8e6adde3/

Log:	fix test

diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py
--- a/pypy/jit/backend/test/runner_test.py
+++ b/pypy/jit/backend/test/runner_test.py
@@ -173,6 +173,8 @@
         wr_i1 = weakref.ref(i1)
         wr_guard = weakref.ref(operations[2])
         self.cpu.compile_loop(inputargs, operations, looptoken)
+        if hasattr(looptoken, '_x86_ops_offset'):
+            del looptoken._x86_ops_offset # else it's kept alive
         del i0, i1, i2
         del inputargs
         del operations


More information about the pypy-commit mailing list