mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
28 lines
457 B
Plaintext
28 lines
457 B
Plaintext
{
|
|
function f(a) -> x, y {
|
|
x := mul(a, a)
|
|
y := add(a, x)
|
|
}
|
|
let r, s := f(mload(0))
|
|
mstore(r, s)
|
|
}
|
|
// ----
|
|
// step: fullInliner
|
|
//
|
|
// {
|
|
// {
|
|
// let a_3 := mload(0)
|
|
// let x_4 := 0
|
|
// let y_5 := 0
|
|
// x_4 := mul(a_3, a_3)
|
|
// y_5 := add(a_3, x_4)
|
|
// let r := x_4
|
|
// mstore(r, y_5)
|
|
// }
|
|
// function f(a) -> x, y
|
|
// {
|
|
// x := mul(a, a)
|
|
// y := add(a, x)
|
|
// }
|
|
// }
|