solidity/test/libyul/yulOptimizerTests/fullSuite/name_cleaner_reserved.yul

35 lines
625 B
Plaintext
Raw Normal View History

2020-08-06 19:44:50 +00:00
{
// This function name can be shortened, the other cannot.
function nonmstore_(x) {
nonmstore_(x)
sstore(10, calldataload(2))
}
function mstore_(x) -> y {
let t3_3_ := mstore_(x)
y := 8
sstore(y, calldataload(y))
}
let t2_ := mstore_(7)
nonmstore_(70)
}
// ----
// step: fullSuite
//
// {
// {
// pop(mstore_(7))
// nonmstore(70)
// }
// function nonmstore(x)
// {
// nonmstore(x)
// sstore(10, calldataload(2))
// }
// function mstore_(x) -> y
// {
// pop(mstore_(x))
// y := 8
// sstore(y, calldataload(y))
// }
// }