mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix and test yul stack optimization flag for commandline interface.
This commit is contained in:
@@ -66,8 +66,9 @@ boost::optional<Error> parseAndReturnFirstError(
|
||||
try
|
||||
{
|
||||
success = stack.parseAndAnalyze("", _source);
|
||||
bool const optimize = false;
|
||||
if (success && _assemble)
|
||||
stack.assemble(_machine);
|
||||
stack.assemble(_machine, optimize);
|
||||
}
|
||||
catch (FatalError const&)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user