summaryrefslogtreecommitdiff
path: root/test/codegen/stack.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2019-06-05 18:42:31 +0000
committerKeith Randall <khr@golang.org>2019-06-05 19:50:09 +0000
commit49200e3f3e61f505acb152e150d054ef1db03b3e (patch)
treea0449ffcfb21af960ab9053eac39e6e42318b34e /test/codegen/stack.go
parente9a136d185af8dcdb270096af520087c92c8b4af (diff)
downloadgo-git-49200e3f3e61f505acb152e150d054ef1db03b3e.tar.gz
Revert "cmd/compile,runtime: allocate defer records on the stack"
This reverts commit fff4f599fe1c21e411a99de5c9b3777d06ce0ce6. Reason for revert: Seems to still have issues around GC. Fixes #32452 Change-Id: Ibe7af629f9ad6a3d5312acd7b066123f484da7f0 Reviewed-on: https://go-review.googlesource.com/c/go/+/180761 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'test/codegen/stack.go')
-rw-r--r--test/codegen/stack.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/codegen/stack.go b/test/codegen/stack.go
index 37d378aa78..ca37622286 100644
--- a/test/codegen/stack.go
+++ b/test/codegen/stack.go
@@ -109,8 +109,3 @@ func MightPanic(a []int, i, j, k, s int) {
_ = i << s // panicShift
_ = i / j // panicDivide
}
-
-func Defer() {
- // amd64:`CALL\truntime\.deferprocStack`
- defer func() {}()
-}