[pypy-svn] r65944 - pypy/branch/pyjitpl5/pypy/jit/tl/spli/test

fijal at codespeak.net fijal at codespeak.net
Thu Jun 25 00:03:27 CEST 2009


Author: fijal
Date: Thu Jun 25 00:03:27 2009
New Revision: 65944

Modified:
   pypy/branch/pyjitpl5/pypy/jit/tl/spli/test/test_jit.py
Log:
use simple_optimize here by default. optimize4 produces nonsense


Modified: pypy/branch/pyjitpl5/pypy/jit/tl/spli/test/test_jit.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/tl/spli/test/test_jit.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/tl/spli/test/test_jit.py	Thu Jun 25 00:03:27 2009
@@ -5,6 +5,7 @@
 from pypy.jit.metainterp.typesystem import LLTypeHelper, OOTypeHelper
 from pypy.jit.backend.llgraph import runner
 from pypy.rpython.annlowlevel import llstr, hlstr
+from pypy.jit.metainterp.simple_optimize import Optimizer
 
 class TestSPLIJit(JitMixin):
     type_system = 'lltype'
@@ -28,7 +29,8 @@
         d['space'] = space
         d['coderepr'] = coderepr
         exec source.compile() in d
-        return self.meta_interp(d['bootstrap'], args, listops=True)
+        return self.meta_interp(d['bootstrap'], args, listops=True,
+                                optimizer=Optimizer)
     
     def test_basic(self):
         def f():



More information about the Pypy-commit mailing list