aboutsummaryrefslogtreecommitdiff
path: root/gcc/hash-set-tests.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2020-01-02 21:51:07 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2020-01-02 21:51:07 +0000
commit9279b5ba4538da8041f074db3f5fcd9e8ecff93e (patch)
tree5791199f9234d308eaee94877178b863d50880c4 /gcc/hash-set-tests.c
parent45b6395b202b637cae76c73dce846e5eb1954870 (diff)
downloadgcc-9279b5ba4538da8041f074db3f5fcd9e8ecff93e.zip
gcc-9279b5ba4538da8041f074db3f5fcd9e8ecff93e.tar.gz
gcc-9279b5ba4538da8041f074db3f5fcd9e8ecff93e.tar.bz2
compiler: split writing of equal and hash functions for types
Separate the generation of type equality and hash functions, rather than doing them in a single operation. This is almost entirely a pure refactoring in preparation for generating hash functions only for types that are map keys. The only change in generated code is that for types that are the size of numeric types, but not aligned like numeric types, such as [8]byte, now use standard hash functions. They previously used special-purpose hash functions because they required special-purpose equal functions. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/212842 From-SVN: r279847
Diffstat (limited to 'gcc/hash-set-tests.c')
0 files changed, 0 insertions, 0 deletions