Use correct instance of EVMDialectTyped.

This commit is contained in:
chriseth 2020-02-06 19:44:14 +01:00
parent 4ae97f4563
commit 92c9b078b4
2 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,7 @@ std::map<string const, yul::Dialect const& (*)(langutil::EVMVersion)> const vali
{
"evmTyped",
[](langutil::EVMVersion _evmVersion) -> yul::Dialect const&
{ return yul::EVMDialectTyped::strictAssemblyForEVM(_evmVersion); }
{ return yul::EVMDialectTyped::instance(_evmVersion); }
},
{
"yul",

View File

@ -5,4 +5,6 @@
function h() { let x := msize() }
function i() { let z := mload(0) }
}
// ====
// dialect: evm
// ----