mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Activate ewasm dialect in commandline interface.
This commit is contained in:
parent
f6c6871bce
commit
61e36cbfaa
@ -44,7 +44,7 @@ string EWasmToText::operator()(wasm::Literal const& _literal)
|
|||||||
|
|
||||||
string EWasmToText::operator()(wasm::Identifier const& _identifier)
|
string EWasmToText::operator()(wasm::Identifier const& _identifier)
|
||||||
{
|
{
|
||||||
return "(get.local $" + _identifier.name + ")";
|
return "(get_local $" + _identifier.name + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
string EWasmToText::operator()(wasm::Label const& _label)
|
string EWasmToText::operator()(wasm::Label const& _label)
|
||||||
|
@ -882,6 +882,8 @@ bool CommandLineInterface::processInput()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (targetMachine == Machine::eWasm && inputLanguage == Input::StrictAssembly)
|
||||||
|
inputLanguage = Input::EWasm;
|
||||||
if (optimize && inputLanguage != Input::StrictAssembly)
|
if (optimize && inputLanguage != Input::StrictAssembly)
|
||||||
{
|
{
|
||||||
serr() <<
|
serr() <<
|
||||||
|
Loading…
Reference in New Issue
Block a user