mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Switch from full() to standard() optimizer settings in assembly mode on the CLI
This commit is contained in:
parent
6b46d4fdbe
commit
1e4cef8405
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user