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

arigo at codespeak.net arigo at codespeak.net
Sun Sep 27 17:59:34 CEST 2009


Author: arigo
Date: Sun Sep 27 17:59:34 2009
New Revision: 67919

Modified:
   pypy/trunk/pypy/config/translationoption.py
Log:
Change the default for the --gc option in the presence of -Ojit.
Now we get the hybrid gc with asmgcc by default.


Modified: pypy/trunk/pypy/config/translationoption.py
==============================================================================
--- pypy/trunk/pypy/config/translationoption.py	(original)
+++ pypy/trunk/pypy/config/translationoption.py	Sun Sep 27 17:59:34 2009
@@ -96,7 +96,8 @@
     BoolOption("jit", "generate a JIT",
                default=False,
                requires=[("translation.thread", False)],
-               suggests=[("translation.gc", "boehm"),         # for now
+               suggests=[("translation.gc", "hybrid"),     # or "boehm"
+                         ("translation.gcrootfinder", "asmgcc"),
                          ("translation.list_comprehension_operations", True)]),
     ChoiceOption("jit_backend", "choose the backend for the JIT",
                  ["auto", "x86", "llvm"],
@@ -317,7 +318,7 @@
     'mem':  'markcompact lowinline     remove_asserts',
     '2':    'hybrid      extraopts',
     '3':    'hybrid      extraopts     remove_asserts',
-    'jit':  'boehm       extraopts     jit',       # XXX boehm for now, fix me
+    'jit':  'hybrid      extraopts     jit',
     }
 
 def set_opt_level(config, level):



More information about the Pypy-commit mailing list