]> Cypherpunks repositories - gostls13.git/commit
sort: split post-Go1.4 code into its own file
authorRuss Cox <rsc@golang.org>
Fri, 27 Oct 2017 14:21:46 +0000 (10:21 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 27 Oct 2017 16:01:43 +0000 (16:01 +0000)
commit3caa02f603fcb895763f2f5c3f737ef69fa9cf0a
treebf46cd2b62eb7d130124453f111d448322bc1fc7
parent3e1e66fa05017f15b7e91307275975a6584cd205
sort: split post-Go1.4 code into its own file

This will let us build the latest sort when bootstrapping the compiler.
The compiler depends on the precise tie-breaks used by sort in
some cases, and it's easier to bring sort along than require checking
every sort call ever added to the compiler.

Change-Id: Idc622f89aedbb40d848708c76650fc28779d0c3c
Reviewed-on: https://go-review.googlesource.com/73951
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/sort/slice.go [new file with mode: 0644]
src/sort/sort.go