solidity/test/libyul/yulOptimizerTests/loadResolver/double_mload_with_other_reassignment.yul

19 lines
280 B
Plaintext
Raw Normal View History

{
let x := calldataload(0)
let a := mload(x)
x := 7
let b := mload(x)
sstore(a, b)
}
// ----
// step: loadResolver
//
// {
2021-11-09 12:25:25 +00:00
// {
// let x := calldataload(0)
// let a := mload(x)
// x := 7
// sstore(a, mload(x))
// }
// }