]> Cypherpunks repositories - gostls13.git/commit
cmd/compile, runtime: eliminate unnecessary algorithm types
authorMatthew Dempsky <mdempsky@google.com>
Sun, 21 Feb 2016 06:52:15 +0000 (22:52 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Sun, 21 Feb 2016 20:59:36 +0000 (20:59 +0000)
commit8ffe496ae792a1cdc845c1c019323cf6c05fbb32
tree4ff61aff7fbc197e234a2d3a08d7fbc9f3498153
parente960302410fafaf595c1ad92c28c61da3a254d63
cmd/compile, runtime: eliminate unnecessary algorithm types

There's no need for 8 different ways to represent that a type is
non-comparable.

While here, move AMEM out of the runtime-known algorithm values since
it's not needed at run-time, and get rid of the unused AUNK constant.

Change-Id: Ie23972b692c6f27fc5f1a908561b3e26ef5a50e9
Reviewed-on: https://go-review.googlesource.com/19779
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/compile/internal/gc/go.go
src/cmd/compile/internal/gc/subr.go
src/runtime/alg.go