[pypy-svn] r66709 - pypy/trunk/pypy/config

arigo at codespeak.net arigo at codespeak.net
Thu Jul 30 21:56:22 CEST 2009


Author: arigo
Date: Thu Jul 30 21:56:19 2009
New Revision: 66709

Modified:
   pypy/trunk/pypy/config/translationoption.py
Log:
Maybe better: --jit is still recognized, but using it raises an
exception pointing to branch/pyjitpl5.


Modified: pypy/trunk/pypy/config/translationoption.py
==============================================================================
--- pypy/trunk/pypy/config/translationoption.py	(original)
+++ pypy/trunk/pypy/config/translationoption.py	Thu Jul 30 21:56:19 2009
@@ -98,10 +98,12 @@
                default=True),
 
     # JIT generation
-    #BoolOption("jit", "generate a JIT",
-    #           default=False, cmdline="--jit",
-    #           requires=[("translation.gc", "boehm"),
-    #                     ("translation.list_comprehension_operations", True)]),
+    BoolOption("jit", "generate a JIT",
+               default=False, cmdline="--jit",
+               validator=lambda config:
+                   py.test.fail("check out branch/pyjitpl5 instead of trunk!"),
+               requires=[("translation.gc", "boehm"),
+                         ("translation.list_comprehension_operations", True)]),
 
     # misc
     BoolOption("verbose", "Print extra information", default=False),



More information about the Pypy-commit mailing list