Commits

Armin Rigo committed a038aa8

Let "translate.py --stm -Ojit" pick the stmgc.

Comments (0)

Files changed (1)

pypy/config/translationoption.py

     # 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: