mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use correct instance of EVMDialectTyped.
This commit is contained in:
parent
4ae97f4563
commit
92c9b078b4
@ -45,7 +45,7 @@ std::map<string const, yul::Dialect const& (*)(langutil::EVMVersion)> const vali
|
|||||||
{
|
{
|
||||||
"evmTyped",
|
"evmTyped",
|
||||||
[](langutil::EVMVersion _evmVersion) -> yul::Dialect const&
|
[](langutil::EVMVersion _evmVersion) -> yul::Dialect const&
|
||||||
{ return yul::EVMDialectTyped::strictAssemblyForEVM(_evmVersion); }
|
{ return yul::EVMDialectTyped::instance(_evmVersion); }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"yul",
|
"yul",
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
function h() { let x := msize() }
|
function h() { let x := msize() }
|
||||||
function i() { let z := mload(0) }
|
function i() { let z := mload(0) }
|
||||||
}
|
}
|
||||||
|
// ====
|
||||||
|
// dialect: evm
|
||||||
// ----
|
// ----
|
||||||
|
Loading…
Reference in New Issue
Block a user