]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: cleanup genwrapper slightly
authorMatthew Dempsky <mdempsky@google.com>
Wed, 4 Oct 2017 18:42:37 +0000 (11:42 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 5 Oct 2017 22:37:16 +0000 (22:37 +0000)
commit31a3b719a008205d4465a9e93dc7d29edc485e37
treeeba59eb475e89d9489935ef27186510a22052d22
parenta92a77c56f598b28b5eb640d29fabc6843b365c2
cmd/compile: cleanup genwrapper slightly

ORETJMP doesn't need an ONAME if we just set the target method on Sym
instead of Left. Conveniently, this is where fmt.go was looking for it
anyway.

Change the iface parameter and global compiling_wrappers to bool.

Passes toolstash-check.

Change-Id: I5333f8bcb4e06bf8161808041125eb95c439aafe
Reviewed-on: https://go-review.googlesource.com/68252
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/gc/go.go
src/cmd/compile/internal/gc/reflect.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/gc/subr.go
src/cmd/compile/internal/gc/typecheck.go