]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: improve domorder documentation
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 26 May 2016 19:16:53 +0000 (12:16 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 26 May 2016 20:01:24 +0000 (20:01 +0000)
commit13a5b1faee06b59df456930d04edd2b5e083b019
tree632f45edf20a2a75d6c1304ab7c87f2063c4e848
parent2deb9209dec81792156c8e865a409a4ee5c331f6
cmd/compile: improve domorder documentation

domorder has some non-obvious useful properties
that we’re relying on in cse.
Document them and provide an argument that they hold.
While we’re here, do some minor renaming.

The argument is a re-working of a private email
exchange with Todd Neal and David Chase.

Change-Id: Ie154e0521bde642f5f11e67fc542c5eb938258be
Reviewed-on: https://go-review.googlesource.com/23449
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/cse.go
src/cmd/compile/internal/ssa/sparsetree.go