]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile/internal/ssa: implement ITAB
authorKeith Randall <khr@golang.org>
Tue, 4 Aug 2015 22:47:22 +0000 (15:47 -0700)
committerKeith Randall <khr@golang.org>
Tue, 4 Aug 2015 23:32:42 +0000 (23:32 +0000)
commitd1c15a0e3ed1ba9c846a35d637c92525f07258a8
tree6aac952338aa9247bd32c90cb1c440d3732a980c
parent9495e45c8077fe2f562a57da8e3593b1779b2d2f
[dev.ssa] cmd/compile/internal/ssa: implement ITAB

Implement ITAB, selecting the itable field of an interface.

Soften the lowering check to allow lowerings that leave
generic but dead ops behind.  (The ITAB lowering does this.)

Change-Id: Icc84961dd4060d143602f001311aa1d8be0d7fc0
Reviewed-on: https://go-review.googlesource.com/13144
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/compile.go
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/gen/genericOps.go
src/cmd/compile/internal/ssa/lower.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteAMD64.go