diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2016-09-09 11:28:07 -0700 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2016-09-09 19:25:56 +0000 |
| commit | cfc0d6d8847eb959da2b6bd1c0fe1c0c7a19873e (patch) | |
| tree | a72f633034c692f72214087acba09417e3af9d0f /src/context/example_test.go | |
| parent | 3877f820a61886b74bb596bdb128a8d705a44628 (diff) | |
| download | go-cfc0d6d8847eb959da2b6bd1c0fe1c0c7a19873e.tar.xz | |
cmd/compile/internal/syntax: remove strbyteseql
cmd/compile already optimizes "string(b) == s" to avoid allocating a
temporary string.
Change-Id: I4244fbeae8d350261494135c357f9a6e2ab7ace3
Reviewed-on: https://go-review.googlesource.com/28931
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/context/example_test.go')
0 files changed, 0 insertions, 0 deletions
