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

This CL only adds the new constant, which is not safe for toolstash -cmp.

Change-Id: I774463a0ab5f57113d67a8888b6ac787be68510c
Reviewed-on: https://go-review.googlesource.com/c/go/+/274110
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Russ Cox 2020-11-29 23:06:02 -05:00
parent 9a5a11adfa
commit 45f3b646d4
2 changed files with 45 additions and 43 deletions

View file

@ -288,6 +288,7 @@ const (
OOFFSETOF // unsafe.Offsetof(Left)
OSIZEOF // unsafe.Sizeof(Left)
OMETHEXPR // method expression
OSTMTEXPR // statement expression (Init; Left)
// statements
OBLOCK // { List } (block of code)