]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: refactor method expression detection
authorMatthew Dempsky <mdempsky@google.com>
Tue, 24 Oct 2017 21:45:41 +0000 (14:45 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 24 Oct 2017 22:21:34 +0000 (22:21 +0000)
commitfcd32885dfd9f69d894f11e0802548071be5e326
tree1c7faa499f2ea8a29a44cacdcc93e83748894f0b
parent6a223b82a466540ea5de1e9f8a7bfea31d77e07d
cmd/compile: refactor method expression detection

Eliminates lots of ad hoc code for recognizing the same thing in
different ways.

Passes toolstash-check.

Change-Id: Ic0bb005308e96331b4ef30f455b860e476725b61
Reviewed-on: https://go-review.googlesource.com/73190
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/bexport.go
src/cmd/compile/internal/gc/export.go
src/cmd/compile/internal/gc/inl.go
src/cmd/compile/internal/gc/sinit.go
src/cmd/compile/internal/gc/syntax.go
src/cmd/compile/internal/gc/typecheck.go