]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] runtime: make deferproc take a func() argument
authorCherry Mui <cherryyz@google.com>
Fri, 4 Jun 2021 22:30:51 +0000 (18:30 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 8 Jun 2021 20:55:14 +0000 (20:55 +0000)
commit83da32749ce86d7ecbe9078d524788fbecb4f39c
treeb834732c1a6757abe1da4183cb725679a543bc1a
parent8e5304f7298a0eef48e4796017c51b4d9aeb52b5
[dev.typeparams] runtime: make deferproc take a func() argument

Previously it takes a *funcval, as it can be any function types.
Now it must be func(). Make it so.

Change-Id: I04273047b024386f55dbbd5fbda4767cbee7ac93
Reviewed-on: https://go-review.googlesource.com/c/go/+/325918
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/heapdump.go
src/runtime/panic.go
src/runtime/runtime2.go
src/runtime/stubs.go