]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: refactor out eqstring
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 24 Apr 2020 16:43:49 +0000 (09:43 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Apr 2020 17:19:07 +0000 (17:19 +0000)
commitdaae72e88e39cbc34659457b4a91b483f88ae19b
treeac3337eb47e69a04390321e70a3b136f2c13f422
parent79648bde2d8c7bb70f4cd4f0dbe5c37450d2d603
cmd/compile: refactor out eqstring

Refactor out creating the two Nodes needed to check string equality.
Preliminary work to other optimizations.

Passes toolstash-check.

Change-Id: I72e824dac904e579b8ba9a3669a94fa1471112d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/230204
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/alg.go
src/cmd/compile/internal/gc/walk.go