]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: replace aindex with typArray
authorMatthew Dempsky <mdempsky@google.com>
Thu, 13 Oct 2016 06:28:36 +0000 (23:28 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 13 Oct 2016 07:23:53 +0000 (07:23 +0000)
commit032e2bd1eb215cdeec605b33e42878ec7186cb53
tree467954d9d61b7f96b96a3716c293f64cad8e4f23
parent1af769da8260b277bd5aa92b5074b3400b1f8d9d
cmd/compile: replace aindex with typArray

aindex is overkill when it's only ever used with known integer
constants, so just use typArray directly instead.

Change-Id: I43fc14e604172df859b3ad9d848d219bbe48e434
Reviewed-on: https://go-review.googlesource.com/30979
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/subr.go
src/cmd/compile/internal/gc/walk.go