2018-10-02 08:46:59 +00:00
|
|
|
{
|
|
|
|
function f(a) -> b, c { let x := mload(a) b := sload(x) c := 3 }
|
|
|
|
let a1 := calldataload(0)
|
|
|
|
let b3, c3 := f(a1)
|
|
|
|
let b4, c4 := f(c3)
|
|
|
|
}
|
2019-04-01 14:33:46 +00:00
|
|
|
// ====
|
|
|
|
// step: fullInliner
|
2018-10-02 08:46:59 +00:00
|
|
|
// ----
|
|
|
|
// {
|
|
|
|
// {
|
2019-03-04 17:03:30 +00:00
|
|
|
// let a_2 := calldataload(0)
|
|
|
|
// let b_3 := 0
|
|
|
|
// let c_4 := 0
|
|
|
|
// b_3 := sload(mload(a_2))
|
|
|
|
// c_4 := 3
|
|
|
|
// let b3 := b_3
|
|
|
|
// let a_6 := c_4
|
|
|
|
// let b_7 := 0
|
|
|
|
// let c_8 := 0
|
|
|
|
// b_7 := sload(mload(a_6))
|
|
|
|
// c_8 := 3
|
|
|
|
// let b4 := b_7
|
|
|
|
// let c4 := c_8
|
2018-10-02 08:46:59 +00:00
|
|
|
// }
|
|
|
|
// function f(a) -> b, c
|
|
|
|
// {
|
|
|
|
// b := sload(mload(a))
|
|
|
|
// c := 3
|
|
|
|
// }
|
|
|
|
// }
|