Reuse function argument slots and defer allocation of return variable slots in EVMCodeTransform.

This commit is contained in:
Daniel Kirchner
2021-04-06 13:38:05 +02:00
parent 04a051d380
commit 4b0f8383a6
13 changed files with 337 additions and 102 deletions
@@ -8,18 +8,17 @@
// ====
// stackOptimization: true
// ----
// PUSH1 0x11
// PUSH1 0x10
// JUMP
// JUMPDEST
// POP
// POP
// POP
// POP
// PUSH1 0x0
// PUSH1 0x0
// JUMPDEST
// SWAP5
// POP
// SWAP5
// SWAP3
// POP
// POP
// POP
// SWAP1
// SWAP2
// JUMP
// JUMPDEST