mirror of
https://github.com/golang/go
synced 2024-10-05 18:21:21 -06:00
[dev.ssa] cmd/compile/internal/gc: implement more no-op statements
Change-Id: I26c268f46dcffe39912b8c92ce9abb875310934f Reviewed-on: https://go-review.googlesource.com/12100 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
accf9b5951
commit
4c521ac8f2
@ -294,7 +294,7 @@ func (s *state) stmt(n *Node) {
|
||||
case OBLOCK:
|
||||
s.stmtList(n.List)
|
||||
|
||||
case OEMPTY:
|
||||
case OEMPTY, ODCLCONST, ODCLTYPE:
|
||||
|
||||
case ODCL:
|
||||
if n.Left.Class&PHEAP == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user