]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] Revert "[dev.typeparams] runtime: make deferproc take a func() argument"
authorCherry Mui <cherryyz@google.com>
Mon, 14 Jun 2021 16:39:14 +0000 (12:39 -0400)
committerCherry Mui <cherryyz@google.com>
Wed, 16 Jun 2021 15:27:43 +0000 (15:27 +0000)
commita4121d7dd66b0bca91cc1619721f69e9027af041
treead86230708e2fd1b375bc82a91dc6f62983112bf
parent4d6f9d60cf597a49b918fc1d445251d6b643f860
[dev.typeparams] Revert "[dev.typeparams] runtime: make deferproc take a func() argument"

Temprary revert CL 325918.

Delve relies on the _defer.fn.fn field to get defer frames.
CL 325918 changes the type of _defer.fn to func(), which no
longer has an fn field.

Change-Id: If6c71b15a27bac579593f5273c9a49715e6e35b2
Reviewed-on: https://go-review.googlesource.com/c/go/+/327775
Trust: Cherry Mui <cherryyz@google.com>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/runtime/heapdump.go
src/runtime/panic.go
src/runtime/runtime2.go
src/runtime/stubs.go