]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: update mkbuiltin.go to use new type constructors
authorMatthew Dempsky <mdempsky@google.com>
Wed, 23 Dec 2020 08:50:18 +0000 (00:50 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 23 Dec 2020 09:51:23 +0000 (09:51 +0000)
commit5898025026e3ec38451e86c7837f6faf3633cf27
tree10bd4cdefce95d0ad6b260653d6b70f33226550d
parent63c96c2ee7444b83224b9c5aadd8ad5b757c1e03
[dev.regabi] cmd/compile: update mkbuiltin.go to use new type constructors

We recently added new functions to types like NewSignature and
NewField, so we can use these directly rather than depending on the
typecheck and ir wrappers.

Passes toolstash -cmp.

Change-Id: I32676aa9a4ea71892216017756e72bcf90297219
Reviewed-on: https://go-review.googlesource.com/c/go/+/279953
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/typecheck/builtin.go
src/cmd/compile/internal/typecheck/mkbuiltin.go