[pypy-svn] r75664 - pypy/trunk/pypy/jit/backend/test

arigo at codespeak.net arigo at codespeak.net
Tue Jun 29 17:07:36 CEST 2010


Author: arigo
Date: Tue Jun 29 17:07:34 2010
New Revision: 75664

Modified:
   pypy/trunk/pypy/jit/backend/test/support.py
Log:
Fix for x86/test/test_ztranslation.


Modified: pypy/trunk/pypy/jit/backend/test/support.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/test/support.py	(original)
+++ pypy/trunk/pypy/jit/backend/test/support.py	Tue Jun 29 17:07:34 2010
@@ -62,11 +62,12 @@
         warmrunnerdesc = WarmRunnerDesc(t, translate_support_code=True,
                                         CPUClass=self.CPUClass,
                                         **kwds)
-        warmrunnerdesc.state.set_param_threshold(3)          # for tests
-        warmrunnerdesc.state.set_param_trace_eagerness(2)    # for tests
-        warmrunnerdesc.state.set_param_trace_limit(trace_limit)
-        warmrunnerdesc.state.set_param_inlining(inline)
-        warmrunnerdesc.state.set_param_optimizer(OPTIMIZER_FULL)
+        for jd in warmrunnerdesc.jitdrivers_sd:
+            jd.warmstate.set_param_threshold(3)          # for tests
+            jd.warmstate.set_param_trace_eagerness(2)    # for tests
+            jd.warmstate.set_param_trace_limit(trace_limit)
+            jd.warmstate.set_param_inlining(inline)
+            jd.warmstate.set_param_optimizer(OPTIMIZER_FULL)
         mixlevelann = warmrunnerdesc.annhelper
         entry_point_graph = mixlevelann.getgraph(entry_point, [s_list_of_strings],
                                                  annmodel.SomeInteger())



More information about the Pypy-commit mailing list