Revert "ssa: defer load/store func and args"

This commit is contained in:
七叶
2024-12-03 21:00:49 +08:00
committed by GitHub
parent 7e9542e79a
commit 3505be422e
4 changed files with 4 additions and 69 deletions

View File

@@ -1,15 +0,0 @@
package main
func main() {
var a int = 5
defer println(a)
defer func() {
println(a)
}()
a = 10
panic("error")
//Output:
// 10
// 5
// panic: error
}

View File

@@ -1 +0,0 @@
;