]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove go:nosplit comment from reflect.typelinks
authorIan Lance Taylor <iant@golang.org>
Sat, 14 Nov 2015 23:31:32 +0000 (15:31 -0800)
committerIan Lance Taylor <iant@golang.org>
Sun, 15 Nov 2015 05:49:48 +0000 (05:49 +0000)
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 <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/runtime1.go

index 4c0242350cc561cf838159f1f971617e6166bcd0..f8ae5df53fd15c118878a459e84fa00ed9d7ee19 100644 (file)
@@ -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 {