mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow enabling optimisations for Yul + Wasm
This commit is contained in:
parent
f7d7c97b8f
commit
c1db89161b
@ -944,7 +944,7 @@ bool CommandLineInterface::processInput()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (optimize && inputLanguage != Input::StrictAssembly)
|
if (optimize && (inputLanguage != Input::StrictAssembly && inputLanguage != Input::EWasm))
|
||||||
{
|
{
|
||||||
serr() <<
|
serr() <<
|
||||||
"Optimizer can only be used for strict assembly. Use --" <<
|
"Optimizer can only be used for strict assembly. Use --" <<
|
||||||
|
Loading…
Reference in New Issue
Block a user