Fix and test yul stack optimization flag for commandline interface.

This commit is contained in:
chriseth
2019-03-14 15:34:23 +01:00
parent 6d1ed93247
commit 49d914a391
14 changed files with 296 additions and 5 deletions
+2 -1
View File
@@ -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&)
{