compiler: don't export function type parameter names
commit1e8e49f135c814bd268289609dd0aea305ed546e
authorIan Lance Taylor <iant@golang.org>
Thu, 15 Oct 2020 22:34:14 +0000 (15 15:34 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 15 Oct 2020 23:25:39 +0000 (15 16:25 -0700)
treec7a9a0681506a9b49d1d65da1d8372d4a2960f6f
parentf33ac3b0cd9f88be8faadded88e40a511f01c32a
compiler: don't export function type parameter names

When hashing a function type the parameter names are ignored.
Therefore, we should not write them into the export data.
Otherwise, minor changes in the order in which we process the
types can cause the export data to change uselessly, leading to
unnecessary rebuilds.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/262818
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc