]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add a dark mode to ssa html generation which can be toggled
authorBradford Lamson-Scribner <brad.lamson@gmail.com>
Thu, 20 Feb 2020 16:07:48 +0000 (09:07 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sun, 1 Mar 2020 05:45:39 +0000 (05:45 +0000)
commit1e9665da8fd8e2e095eb0e99a3b83118f600dc0b
tree66c2b9a26f4a1785f7a73dae904219f9cc7bb9b2
parent95f382139043059a2a0780ba577b53893408f7e4
cmd/compile: add a dark mode to ssa html generation which can be toggled

add a tag that when clicked, toggles a dark mode. It keeps intact
the grayed out dead values/blocks, all the highlight colors, and ensures
text is always readable.

Fixes #34325

Change-Id: I4af1e4b5f4a5b63e54c992e90f8474cc51c63465
Reviewed-on: https://go-review.googlesource.com/c/go/+/220260
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/html.go