blob: 71d64eec40b1813c32e6382d24fdb65977f20a90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !aix,gccgo
package runtime
import (
_ "unsafe"
)
// go:linkname is required as eqtype is a compiler-called
// function on some OSes.
//
//go:linkname eqtype
// Return whether two type descriptors are equal.
func eqtype(t1, t2 *_type) bool {
return t1 == t2
}
|