Commit 4c521ac8 authored by Daniel Morsing's avatar Daniel Morsing

[dev.ssa] cmd/compile/internal/gc: implement more no-op statements

Change-Id: I26c268f46dcffe39912b8c92ce9abb875310934f
Reviewed-on: https://go-review.googlesource.com/12100Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent accf9b59
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment