Allow enabling optimisations for Yul + Wasm

This commit is contained in:
Alex Beregszaszi
2019-11-28 16:15:15 +01:00
committed by chriseth
parent f7d7c97b8f
commit c1db89161b
+1 -1
View File
@@ -944,7 +944,7 @@ bool CommandLineInterface::processInput()
return false;
}
}
if (optimize && inputLanguage != Input::StrictAssembly)
if (optimize && (inputLanguage != Input::StrictAssembly && inputLanguage != Input::EWasm))
{
serr() <<
"Optimizer can only be used for strict assembly. Use --" <<