]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: simplify postorder
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 17 May 2019 18:48:37 +0000 (11:48 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 29 Aug 2019 19:54:46 +0000 (19:54 +0000)
commit75198b9a9ccdacc3e9ed87a2406b0b87acb1fbac
treeb69f44ccac0669ab22b15ceebc0328bb5d350dc4
parentb8cbcacabe4fecab9122e04cdc71e7f2649e9981
cmd/compile: simplify postorder

Use a bool instead of markKind;
it doesn't save space, but the semantics are more obvious.
Move type markKind closer to its only remaining use.

Change-Id: I9945a7baaeb764295a2709f83120ce3a82fa3beb
Reviewed-on: https://go-review.googlesource.com/c/go/+/177880
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssa/dom.go
src/cmd/compile/internal/ssa/loopreschedchecks.go