Change-Id: I8625eff33f5a49dbaaec060c3fa067d7531193c4
Reviewed-on: https://go-review.googlesource.com/12313
Reviewed-by: Keith Randall <khr@golang.org>
case OBLOCK:
s.stmtList(n.List)
+ // No-ops
case OEMPTY, ODCLCONST, ODCLTYPE:
+ // Expression statements
+ case OCALLFUNC, OCALLMETH, OCALLINTER:
+ s.expr(n)
+
case ODCL:
if n.Left.Class&PHEAP == 0 {
return
}
s.startBlock(bEnd)
- case OCALLFUNC:
- s.expr(n)
-
case OVARKILL:
// TODO(khr): ??? anything to do here? Only for addrtaken variables?
// Maybe just link it in the store chain?