mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
26 lines
532 B
Plaintext
26 lines
532 B
Plaintext
// This does not re-use the parameters for the return parameters
|
|
// We do not expect parameters to be fully unused, so the stack
|
|
// layout for a function is still fixed, even though parameters
|
|
// can be re-used.
|
|
{
|
|
function f(a, b, c, d) -> x, y { }
|
|
}
|
|
// ====
|
|
// stackOptimization: true
|
|
// ----
|
|
// /* "":212:254 */
|
|
// stop
|
|
// /* "":218:252 */
|
|
// tag_1:
|
|
// pop
|
|
// pop
|
|
// pop
|
|
// pop
|
|
// /* "":247:248 */
|
|
// 0x00
|
|
// /* "":244:245 */
|
|
// 0x00
|
|
// /* "":218:252 */
|
|
// swap2
|
|
// jump // out
|