]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove unnecessary FuncType cloning
authorMatthew Dempsky <mdempsky@google.com>
Tue, 6 Sep 2016 21:26:56 +0000 (14:26 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 8 Sep 2016 05:38:46 +0000 (05:38 +0000)
commit3a59b5626da498de0e74a5c02298f04a330f2911
tree6306a83c100277c1620770e58a5029a69dcb59c4
parent24d8f3fa4b02784af2419eec8a28aee303aae0c5
cmd/compile: remove unnecessary FuncType cloning

Since FuncTypes are represented as structs rather than linking the
parameter lists together, we no longer need to worry about duplicating
the parameter lists.

Change-Id: I3767aa3cd1cbeddfb80a6eef6b42290dc2ac14ae
Reviewed-on: https://go-review.googlesource.com/28574
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/type.go