]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/syntax: remove strbyteseql
authorMatthew Dempsky <mdempsky@google.com>
Fri, 9 Sep 2016 18:28:07 +0000 (11:28 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 9 Sep 2016 19:25:56 +0000 (19:25 +0000)
commitcfc0d6d8847eb959da2b6bd1c0fe1c0c7a19873e
treea72f633034c692f72214087acba09417e3af9d0f
parent3877f820a61886b74bb596bdb128a8d705a44628
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>
src/cmd/compile/internal/syntax/scanner.go