[dev.regabi] cmd/compile: add OTSLICE Op

This is not safe for toolstash -cmp and so is split into its own CL.

Change-Id: Ic3254e68fb84a90a11ac5f0b59ef252135c23658
Reviewed-on: https://go-review.googlesource.com/c/go/+/274101
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Russ Cox 2020-11-29 08:09:01 -05:00
parent 1b84aabb01
commit f0001e8867
2 changed files with 21 additions and 19 deletions

View file

@ -594,6 +594,7 @@ const (
// list of result fields.
OTFUNC
OTARRAY // []int, [8]int, [N]int or [...]int
OTSLICE // to be used in future CL
// misc
ODDD // func f(args ...int) or f(l...) or var a = [...]int{0, 1, 2}.