mirror of
https://github.com/golang/go.git
synced 2026-02-06 18:00:01 +00:00
internal/reflectlite: remove unused code
Change-Id: I87ae45657a9bae85b0fbf52692f15552a2987847 Reviewed-on: https://go-review.googlesource.com/c/go/+/738941 Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
cc6923e839
commit
b04e7f31c8
1 changed files with 0 additions and 14 deletions
|
|
@ -464,17 +464,3 @@ func ifaceE2I(t *abi.Type, src any, dst unsafe.Pointer)
|
|||
//
|
||||
//go:noescape
|
||||
func typedmemmove(t *abi.Type, dst, src unsafe.Pointer)
|
||||
|
||||
// Dummy annotation marking that the value x escapes,
|
||||
// for use in cases where the reflect code is so clever that
|
||||
// the compiler cannot follow.
|
||||
func escapes(x any) {
|
||||
if dummy.b {
|
||||
dummy.x = x
|
||||
}
|
||||
}
|
||||
|
||||
var dummy struct {
|
||||
b bool
|
||||
x any
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue