]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/gc: add internConcat for alloc-free string concatenation
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 19 Mar 2015 16:28:02 +0000 (09:28 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 19 Mar 2015 23:07:43 +0000 (23:07 +0000)
commit42fcc6fea03673eeed1447eaab78a7df9385246e
tree5da962ec040e2c9d363ba7d256b0ec9587a151d2
parent7274b1f6c92a46eb50cc4fdc907542f3da7ad6d9
cmd/internal/gc: add internConcat for alloc-free string concatenation

This is a follow-up to review comments on CL 7696.

I believe that this includes the first regular Go test in the compiler.

No functional changes. Passes toolstash -cmp.

Change-Id: Id45f51aa664c5d52ece2a61cd7d8417159ce3cf0
Reviewed-on: https://go-review.googlesource.com/7820
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/gc/lex.go
src/cmd/internal/gc/lex_test.go [new file with mode: 0644]
src/cmd/internal/gc/subr.go
src/cmd/internal/gc/walk.go