]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: remove variadic defer calls
authorCherry Mui <cherryyz@google.com>
Fri, 4 Jun 2021 20:32:03 +0000 (16:32 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 8 Jun 2021 19:34:52 +0000 (19:34 +0000)
commit5b350505da37a37ebfedbc4114777107867a4181
tree5257241a429739c830c33a9d99b1bafef18c8b0a
parenta9de78ac88ff668bbe8c0dc5fdc9dc864ae60447
[dev.typeparams] cmd/compile: remove variadic defer calls

Now that defer wrapping is used, deferred function is always
argumentless. Remove the code handling arguments.

This CL is mostly removing the fallback code path. There are more
cleanups to be done, in later CLs.

Change-Id: If6c729d3055c7a507cb1f1a000f5bbd3ad7ff235
Reviewed-on: https://go-review.googlesource.com/c/go/+/325914
Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/ssagen/ssa.go