]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: simplify openDeferSave
authorCherry Mui <cherryyz@google.com>
Tue, 8 Jun 2021 20:55:36 +0000 (16:55 -0400)
committerCherry Mui <cherryyz@google.com>
Wed, 9 Jun 2021 01:30:09 +0000 (01:30 +0000)
commitc0a86c10f174dd1679974b48a085273d02803121
treef285680d89fd940c8ddbfe4be0517c6c64dd396a
parent74b0b2772ab361884c0e00caf16aa158a7b51e36
[dev.typeparams] cmd/compile: simplify openDeferSave

Now it is only used to save the deferred the function (closure),
which must be a function type. Simplify the code.

Change-Id: Id4b8f2760fbf39a95883df2327f97378e7edab88
Reviewed-on: https://go-review.googlesource.com/c/go/+/326060
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/ssagen/ssa.go