[pypy-svn] r68455 - pypy/branch/prevent-silly-unrolling/pypy/jit/metainterp/test

pedronis at codespeak.net pedronis at codespeak.net
Wed Oct 14 18:34:43 CEST 2009


Author: pedronis
Date: Wed Oct 14 18:34:43 2009
New Revision: 68455

Modified:
   pypy/branch/prevent-silly-unrolling/pypy/jit/metainterp/test/test_basic.py
Log:
(pedronis, cfbolz): interp_operations needs to hack a bit


Modified: pypy/branch/prevent-silly-unrolling/pypy/jit/metainterp/test/test_basic.py
==============================================================================
--- pypy/branch/prevent-silly-unrolling/pypy/jit/metainterp/test/test_basic.py	(original)
+++ pypy/branch/prevent-silly-unrolling/pypy/jit/metainterp/test/test_basic.py	Wed Oct 14 18:34:43 2009
@@ -89,6 +89,7 @@
                                             **kwds)
         cw = codewriter.CodeWriter(metainterp.staticdata, policy)
         graph = rtyper.annotator.translator.graphs[0]
+        graph.func._jit_unroll_safe_ = True
         graph_key = (graph, None)
         maingraph = cw.make_one_bytecode(graph_key, False)
         cw.finish_making_bytecodes()



More information about the Pypy-commit mailing list