CL 484435 removed all usages of them.
Change-Id: I00f21640c7573921472ff3f88cfa92837dc3f9ad
Reviewed-on: https://go-review.googlesource.com/c/go/+/484436
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Cond Node
Post Node
Body Nodes
- HasBreak bool
DistinctVars bool
}
Key Node
Value Node
Body Nodes
- HasBreak bool
DistinctVars bool
Prealloc *Name
// A SelectStmt is a block: { Cases }.
type SelectStmt struct {
miniStmt
- Label *types.Sym
- Cases []*CommClause
- HasBreak bool
+ Label *types.Sym
+ Cases []*CommClause
// TODO(rsc): Instead of recording here, replace with a block?
Compiled Nodes // compiled form, after walkSelect
// A SwitchStmt is a switch statement: switch Init; Tag { Cases }.
type SwitchStmt struct {
miniStmt
- Tag Node
- Cases []*CaseClause
- Label *types.Sym
- HasBreak bool
+ Tag Node
+ Cases []*CaseClause
+ Label *types.Sym
// TODO(rsc): Instead of recording here, replace with a block?
Compiled Nodes // compiled form, after walkSwitch