]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: mark closure structs as Noalg
authorMatthew Dempsky <mdempsky@google.com>
Wed, 27 Sep 2017 19:55:23 +0000 (12:55 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 4 Oct 2017 17:55:36 +0000 (17:55 +0000)
commite59fe206e7aeaa8adad28f602d4361f8db2925a6
tree178fcaff4bb8286715d6bb622008d087ebab04f6
parentec71ee078fd3243b78c0d404c8634bd97e38d7eb
cmd/compile: mark closure structs as Noalg

Avoids generating useless equality and hash functions.

Shrinks cmd/go executable size on linux/amd64 by ~17kB.

Change-Id: Ifde5315cc5cbceb3a7260195c8803cace952359f
Reviewed-on: https://go-review.googlesource.com/66650
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/gc/closure.go
src/cmd/compile/internal/gc/dcl.go