Switch from full() to standard() optimizer settings in assembly mode on the CLI

This commit is contained in:
Kamil Śliwak 2021-08-17 12:50:48 +02:00
parent 6b46d4fdbe
commit 1e4cef8405

View File

@ -306,9 +306,7 @@ OptimiserSettings CommandLineOptions::optimiserSettings() const
{
OptimiserSettings settings;
if (optimizer.enabled && input.mode == InputMode::Assembler)
settings = OptimiserSettings::full();
else if (optimizer.enabled)
if (optimizer.enabled)
settings = OptimiserSettings::standard();
else
settings = OptimiserSettings::minimal();