[pypy-commit] pypy core-only-tracing: tentative rpython fix

antocuni noreply at buildbot.pypy.org
Fri Jan 20 15:52:34 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: core-only-tracing
Changeset: r51541:8789a7c425dc
Date: 2012-01-20 15:52 +0100
http://bitbucket.org/pypy/pypy/changeset/8789a7c425dc/

Log:	tentative rpython fix

diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py
--- a/pypy/rlib/jit.py
+++ b/pypy/rlib/jit.py
@@ -527,8 +527,8 @@
             raise ValueError
         name = parts[0]
         value = parts[1]
-        if name == 'enable_opts':
-            set_param(driver, 'enable_opts', value)
+        if name == 'enable_opts' or name == 'jitmode':
+            set_param(driver, name, value)
         else:
             for name1, _ in unroll_parameters:
                 if name1 == name and name1 != 'enable_opts':


More information about the pypy-commit mailing list