aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime1.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime1.go')
-rw-r--r--src/runtime/runtime1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/runtime1.go b/src/runtime/runtime1.go
index 8e0e82266a..f8caa0db5d 100644
--- a/src/runtime/runtime1.go
+++ b/src/runtime/runtime1.go
@@ -427,8 +427,8 @@ func gomcache() *mcache {
//go:linkname reflect_typelinks reflect.typelinks
//go:nosplit
func reflect_typelinks() [][]*_type {
- ret := [][]*_type{themoduledata.typelinks}
- for datap := themoduledata.next; datap != nil; datap = datap.next {
+ ret := [][]*_type{firstmoduledata.typelinks}
+ for datap := firstmoduledata.next; datap != nil; datap = datap.next {
ret = append(ret, datap.typelinks)
}
return ret