]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] cmd/compile: remove TypeAssertExpr {Src,Dst}Type fields
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Fri, 15 Jan 2021 15:21:33 +0000 (22:21 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Sat, 16 Jan 2021 01:36:11 +0000 (01:36 +0000)
commitc9b1445ac830891e2ebb7a4c3ce278309bdcc764
tree9eb0ed4dbaf94846a7f436aad8e43551e73a3fda
parent03a875137ff8a496e3e7e06de711ce286679dcba
[dev.regabi] cmd/compile: remove TypeAssertExpr {Src,Dst}Type fields

CL 283233 added reflectType method to ssagen.state, which we can use to
setup type address in the SSA backend in favor of the frontend. However,
this will change the order of symbols generation, so not safe for toolstash.

Change-Id: Ib6932ec42a9d28c3fd7a1c055596e75494c29843
Reviewed-on: https://go-review.googlesource.com/c/go/+/284115
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/ir/expr.go
src/cmd/compile/internal/ssagen/ssa.go
src/cmd/compile/internal/walk/expr.go