]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile/internal/ssa: implement slice opcodes
authorKeith Randall <khr@golang.org>
Sun, 13 Sep 2015 06:27:26 +0000 (23:27 -0700)
committerKeith Randall <khr@golang.org>
Mon, 14 Sep 2015 15:57:03 +0000 (15:57 +0000)
commit5505e8ccc74e8e4cbacace0143730a309b1a7655
tree99e5c8e6561675e04927e07a67679cc3b3086625
parentc7081409bb58edc0fcbccbba230b1667845e94a6
[dev.ssa] cmd/compile/internal/ssa: implement slice opcodes

Implement OSLICE, OSLICEARR, OSLICESTR, OSLICE3, OSLICE3ARR.

reviewer: Ignore the code in OINDEX, that's from CL 14466.

Change-Id: I00cc8aecd4c6f40ea5517cd660bb0ce759d91171
Reviewed-on: https://go-review.googlesource.com/14538
Reviewed-by: Todd Neal <todd@tneal.org>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/gc/ssa_test.go
src/cmd/compile/internal/gc/testdata/array_ssa.go [new file with mode: 0644]
src/cmd/compile/internal/gc/type.go
src/cmd/compile/internal/ssa/type.go
src/cmd/compile/internal/ssa/type_test.go