]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: get rid of ugly {Recvs,Params,Results}P methods
authorMatthew Dempsky <mdempsky@google.com>
Tue, 30 Aug 2016 18:15:38 +0000 (11:15 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 30 Aug 2016 20:32:33 +0000 (20:32 +0000)
commit74a00b249b049459b6f8b3c3999969f2beef3d31
treea4d232a7572f26ff63eaddbee0786d6e43f50548
parent7722d0f90383750784377bb395a8c799868bbab8
cmd/compile: get rid of ugly {Recvs,Params,Results}P methods

These were a hack abstraction for before FuncType existed.

The result value from calling FuncType() could be saved, but this
maintains the current idiom of consistently using t.FuncType().foo
everywhere in case we choose to evolve the API further.

Change-Id: I81f19aaeab6fb7caa2d4da8bf0bbbc358ab970d0
Reviewed-on: https://go-review.googlesource.com/28150
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/gc/dcl.go
src/cmd/compile/internal/gc/type.go
src/cmd/compile/internal/gc/universe.go