libgo/go/internal/reflectlite/eqtype.go
raw| 1 | // Copyright 2020 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //+build !aix !gccgo |
| 6 | |
| 7 | package reflectlite |
| 8 | |
| 9 | // rtypeEqual returns true if both types are identical. |
| 10 | func rtypeEqual(t1, t2 *rtype) bool { |
| 11 | return t1 == t2 |
| 12 | } |