]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: inline list storage stealing
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 6 Mar 2016 00:25:58 +0000 (16:25 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 7 Mar 2016 23:05:05 +0000 (23:05 +0000)
commita81283d5d9a6a68db47c2298bbf3a70a753deb5c
treef57943cea5b68e129b6a1b725eb2361ccbbad9f1
parentb8a2e25f55de3ab42a846c08c0002b8d88248bca
cmd/compile: inline list storage stealing

It is only necessary in a few places, and this inlining will
simplify the transition away from NodeLists.

Passes toolstash -cmp.

Change-Id: I4ee9b4bf56ffa04df23e20a0a83b302d36b33510
Reviewed-on: https://go-review.googlesource.com/20290
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/gc/parser.go
src/cmd/compile/internal/gc/syntax.go