mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
270 B
Plaintext
16 lines
270 B
Plaintext
// Does not inline because mload could be moved out of sequence
|
|
{
|
|
function f(a) -> x { x := a }
|
|
let y := f(mload(2))
|
|
}
|
|
// ====
|
|
// step: expressionInliner
|
|
// ----
|
|
// {
|
|
// function f(a) -> x
|
|
// {
|
|
// x := a
|
|
// }
|
|
// let y := f(mload(2))
|
|
// }
|