mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
19 lines
270 B
Plaintext
19 lines
270 B
Plaintext
{
|
|
function f(x) -> y {}
|
|
let a := 1
|
|
let b := f(a)
|
|
let c := a
|
|
mstore(add(a, b), c)
|
|
}
|
|
// ----
|
|
// step: rematerialiser
|
|
//
|
|
// {
|
|
// function f(x) -> y
|
|
// { }
|
|
// let a := 1
|
|
// let b := f(1)
|
|
// let c := 1
|
|
// mstore(add(1, b), 1)
|
|
// }
|