]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: refactor checkdupfields API
authorMatthew Dempsky <mdempsky@google.com>
Thu, 25 Jul 2019 00:02:05 +0000 (17:02 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Mon, 26 Aug 2019 19:38:51 +0000 (19:38 +0000)
commit63661b7251f1e42c6ccc673fa6530c62e2fbd7ac
tree818af18e3f79515ee2a2f3c74c39e90303b3df37
parentcded9f43f8d504159d9b71ddca7fe8abd8ba78b0
cmd/compile: refactor checkdupfields API

Allows avoiding the Type.Fields call, which affects prevents
checkdupfields from being called at the more natural point during
dowidth.

Change-Id: I724789c860e7fffba1e8e876e2d74dcfba85d75c
Reviewed-on: https://go-review.googlesource.com/c/go/+/187517
Reviewed-by: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/align.go
src/cmd/compile/internal/gc/dcl.go