From: Josh Bleecher Snyder Date: Sat, 13 May 2017 15:29:47 +0000 (-0700) Subject: cmd/compile: tweak ssa.html colors X-Git-Tag: go1.9beta1~260 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cfae61b65a66d958367270d4d58ce7996a4987b7;p=gostls13.git cmd/compile: tweak ssa.html colors Make yellow the last highlight color rather than the first. Yellow is also the color that Chrome uses to highlight search results, which can be confusing. Also, when Night Shift is on on macOS, yellow highlighting is completely invisible. I suppose should be sleeping instead. Also, remove a completed TODO. Change-Id: I0eb4439272fad9ccb5fe8e2cf409fdd5dc15b26e Reviewed-on: https://go-review.googlesource.com/43463 Run-TryBot: Josh Bleecher Snyder TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- diff --git a/src/cmd/compile/internal/ssa/html.go b/src/cmd/compile/internal/ssa/html.go index e98c5dc460..d554907beb 100644 --- a/src/cmd/compile/internal/ssa/html.go +++ b/src/cmd/compile/internal/ssa/html.go @@ -142,13 +142,13 @@ dd.ssa-prog { `) - // TODO: Add javascript click handlers for blocks - // to outline that block across all phases w.WriteString("") w.WriteString("

") w.WriteString(html.EscapeString(name))