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

17 lines
246 B
Plaintext
Raw Normal View History

{
let x := calldataload(0)
let a := mload(x)
a := 7
let b := mload(x)
sstore(a, b)
}
// ----
// step: loadResolver
//
// {
// let x := calldataload(0)
// let a := mload(x)
// a := 7
// sstore(a, mload(x))
// }