[pypy-svn] r65882 - pypy/branch/pyjitpl5/pypy/config
arigo at codespeak.net
arigo at codespeak.net
Tue Jun 23 13:48:07 CEST 2009
Author: arigo
Date: Tue Jun 23 13:48:04 2009
New Revision: 65882
Modified:
pypy/branch/pyjitpl5/pypy/config/translationoption.py
Log:
Don't override suggested values for gc in set_opt_level().
Modified: pypy/branch/pyjitpl5/pypy/config/translationoption.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/config/translationoption.py (original)
+++ pypy/branch/pyjitpl5/pypy/config/translationoption.py Tue Jun 23 13:48:04 2009
@@ -354,7 +354,9 @@
# set the GC (only meaningful with lltype)
if config.translation.sandbox and gc == 'hybrid':
gc = 'generation'
- config.translation.suggest(gc=gc)
+ # but only set it if it wasn't already suggested to be something else
+ if config.translation._cfgimpl_value_owners['gc'] != 'suggested':
+ config.translation.suggest(gc=gc)
# set the backendopts
for word in words:
More information about the Pypy-commit
mailing list