[pypy-svn] r79147 - pypy/branch/jit-free/pypy/jit/metainterp
arigo at codespeak.net
arigo at codespeak.net
Tue Nov 16 14:22:21 CET 2010
Author: arigo
Date: Tue Nov 16 14:22:19 2010
New Revision: 79147
Modified:
pypy/branch/jit-free/pypy/jit/metainterp/compile.py
Log:
(antocuni, arigo)
Finally we can fix the test.
Modified: pypy/branch/jit-free/pypy/jit/metainterp/compile.py
==============================================================================
--- pypy/branch/jit-free/pypy/jit/metainterp/compile.py (original)
+++ pypy/branch/jit-free/pypy/jit/metainterp/compile.py Tue Nov 16 14:22:19 2010
@@ -124,6 +124,8 @@
else:
loop._ignore_during_counting = True
metainterp_sd.log("compiled new " + type)
+ if metainterp_sd.warmrunnerdesc is not None: # for tests
+ metainterp_sd.warmrunnerdesc.memory_manager.keep_loop_alive(loop.token)
def send_bridge_to_backend(metainterp_sd, faildescr, inputargs, operations):
n = metainterp_sd.cpu.get_fail_descr_number(faildescr)
More information about the Pypy-commit
mailing list