]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: cleanup callTargetLSym
authorMatthew Dempsky <mdempsky@google.com>
Sun, 17 Jan 2021 08:46:42 +0000 (00:46 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 19 Jan 2021 02:41:30 +0000 (02:41 +0000)
commit4f5c603c0f4375d7612feedfd4d5bef41a4060ee
treec3923e9f18212366640503f7c621dcd3f8dd28cf
parent422f38fb6c8d673eaa13669a22768f4fdd91642b
[dev.regabi] cmd/compile: cleanup callTargetLSym

Now that TailCallStmt carries an *ir.Name instead of a *types.Sym,
callTargetLSym can be similarly updated to take the target function as
an *ir.Name.

This inches us closer towards being able to move Linksym and other
properties from *types.Sym to *ir.Name, where they belong.

Passes toolstash -cmp w/ -gcflags=all=-abiwrap.

Change-Id: I091da290751970eba8ed0438f66d6cca88b665a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/284228
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/ssagen/ssa.go
test/abi/regabipragma.out