From: Ian Lance Taylor Date: Sat, 14 Nov 2015 23:31:32 +0000 (-0800) Subject: runtime: remove go:nosplit comment from reflect.typelinks X-Git-Tag: go1.6beta1~448 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=52393ad036e795f2da1e2692f17f76ccb00fb410;p=gostls13.git runtime: remove go:nosplit comment from reflect.typelinks A nosplit comment was added to reflect.typelinks accidentally in https://golang.org/cl/98510044. There is only one caller of reflect.typelinks, reflect.typesByString, and that function is not nosplit. There is no reason for reflect.typelinks to be nosplit. Change-Id: I0fd3cc66fafcd92643e38e53fa586d6b2f868a0a Reviewed-on: https://go-review.googlesource.com/16932 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Minux Ma --- diff --git a/src/runtime/runtime1.go b/src/runtime/runtime1.go index 4c0242350c..f8ae5df53f 100644 --- a/src/runtime/runtime1.go +++ b/src/runtime/runtime1.go @@ -453,7 +453,6 @@ func gomcache() *mcache { } //go:linkname reflect_typelinks reflect.typelinks -//go:nosplit func reflect_typelinks() [][]*_type { ret := [][]*_type{firstmoduledata.typelinks} for datap := firstmoduledata.next; datap != nil; datap = datap.next {