Extract StackReuseCodegen tests.

This commit is contained in:
Daniel Kirchner
2021-03-09 15:47:24 +01:00
parent 1d95f95635
commit e99da7e015
36 changed files with 703 additions and 420 deletions
@@ -0,0 +1,16 @@
{
function f() -> x, y { }
}
// ====
// stackOptimization: true
// ----
// PUSH1 0xC
// JUMP
// JUMPDEST
// PUSH1 0x0
// PUSH1 0x0
// JUMPDEST
// SWAP1
// SWAP2
// JUMP
// JUMPDEST