]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use types.IdealFoo directly in predecl
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 8 Oct 2020 12:51:57 +0000 (19:51 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 8 Oct 2020 18:55:53 +0000 (18:55 +0000)
commitf3b58edd036e082c210b11bb3aee8a40aa8fbcf2
tree28a12e74a34ef889e3fbb2521044fa9eef430a98
parent542693e00529fbb4248fac614ece68b127a5ec4d
cmd/compile: use types.IdealFoo directly in predecl

Instead of using untype(Ctype) to get corresponding untyped type.

Passes toolstash-check.

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