]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: use f.Nname.Type() in makeABIWrapper
authorCherry Zhang <cherryyz@google.com>
Tue, 20 Apr 2021 21:29:57 +0000 (17:29 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 20 Apr 2021 21:59:20 +0000 (21:59 +0000)
commitf448cb8ba83be1055cc73101e0c217c2a503c8ad
treea5f123bd46a30a6256697148153c03ff540fc604
parent57b0d838ed2e0c128dfc480fee3b5c43309d3369
cmd/compile: use f.Nname.Type() in makeABIWrapper

Apparently, f.Nname.Ntype.Type() doesn't work with types2, as it
doesn't set Ntype, unlike the old type checker. f.Nname.Type()
works for both.

Change-Id: I6fa8a81c9fc7b65e008d9f158b88f0d56d84c3ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/312089
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/ssagen/abi.go