From: Keith Randall Date: Tue, 11 Oct 2016 20:50:44 +0000 (-0700) Subject: cmd/compile: update ssa html help text X-Git-Tag: go1.8beta1~935 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d07345a6334def1a8273107f8bffab33f7a701bc;p=gostls13.git cmd/compile: update ssa html help text Update the description of the conditions under which highlighting might be misleading. Fixes #16754 Change-Id: I3078a09e0b9a76d12078352e15a3f26ba3f1bbee Reviewed-on: https://go-review.googlesource.com/30818 Reviewed-by: David Chase --- diff --git a/src/cmd/compile/internal/ssa/html.go b/src/cmd/compile/internal/ssa/html.go index 18c3e232e0..316fd2aa25 100644 --- a/src/cmd/compile/internal/ssa/html.go +++ b/src/cmd/compile/internal/ssa/html.go @@ -274,9 +274,10 @@ function toggle_visibility(id) {

-Click on a value or block to toggle highlighting of that value/block and its uses. -Values and blocks are highlighted by ID, which may vary across passes. -(TODO: Fix this.) +Click on a value or block to toggle highlighting of that value/block +and its uses. (Values and blocks are highlighted by ID, and IDs of +dead items may be reused, so not all highlights necessarily correspond +to the clicked item.)