Author: Armin Rigo <[email protected]>
Branch: stm-thread-2
Changeset: r58980:a038aa8d5715
Date: 2012-11-18 10:30 +0100
http://bitbucket.org/pypy/pypy/changeset/a038aa8d5715/
Log: Let "translate.py --stm -Ojit" pick the stmgc.
diff --git a/pypy/config/translationoption.py b/pypy/config/translationoption.py
--- a/pypy/config/translationoption.py
+++ b/pypy/config/translationoption.py
@@ -380,6 +380,10 @@
# 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)
+ else:
+ # a suggested GC becomes now definitive (it would be overridden with
+ # possibly different suggestions by the following loop)
+ config.translation.gc = config.translation.gc
# set the backendopts
for word in words:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit