commit | c4012b6bbb3714c5e47f60e3c6946c8c4bc5abef | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Tue Mar 08 10:26:20 2016 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Mar 08 18:54:23 2016 +0000 |
tree | d4eba9eead478c2e4278feb1f54aab76f671d243 | |
parent | f3a29f1f81e14682f5415ddb517eefbd610dea1a [diff] [blame] |
cmd/compile: remove nodesOrNodeList outside of syntax.go Passes toolstash -cmp. Update #14473. Change-Id: I717ebd948dfc8faf8b9ef5aa02c67484af618d18 Reviewed-on: https://go-review.googlesource.com/20359 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/src/cmd/compile/internal/gc/ssa.go b/src/cmd/compile/internal/gc/ssa.go index 317e02e..220e266 100644 --- a/src/cmd/compile/internal/gc/ssa.go +++ b/src/cmd/compile/internal/gc/ssa.go
@@ -508,7 +508,7 @@ } // ssaStmtList converts the statement n to SSA and adds it to s. -func (s *state) stmtList(l nodesOrNodeList) { +func (s *state) stmtList(l Nodes) { for it := nodeSeqIterate(l); !it.Done(); it.Next() { s.stmt(it.N()) }