]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: merge slice and sliceStruct
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Fri, 10 Apr 2015 22:01:54 +0000 (10:01 +1200)
committerIan Lance Taylor <iant@golang.org>
Wed, 15 Apr 2015 16:59:49 +0000 (16:59 +0000)
commitab4df700b841fcd9a5d249b77c547bad9574d948
treed6edc85b7486f5cb33bdc4f9bbff2d77a26a97d5
parentf7be77e5b61706b6264367c43b78a9a4a93f8f3a
runtime: merge slice and sliceStruct

By removing type slice, renaming type sliceStruct to type slice and
whacking until it compiles.

Has a pleasing net reduction of conversions.

Fixes #10188

Change-Id: I77202b8df637185b632fd7875a1fdd8d52c7a83c
Reviewed-on: https://go-review.googlesource.com/8770
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/alg.go
src/runtime/cpuprof.go
src/runtime/export_test.go
src/runtime/mbarrier.go
src/runtime/mheap.go
src/runtime/print1.go
src/runtime/runtime2.go
src/runtime/select.go
src/runtime/slice.go
src/runtime/string.go