aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/html.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2015-09-08 21:28:44 -0700
committerKeith Randall <khr@golang.org>2015-09-09 20:33:35 +0000
commit8a1f6217c57316808e8f23f5f2fa251de3c18a26 (patch)
tree785c052d3a17c8b389b0c877aceb836330117064 /src/cmd/compile/internal/ssa/html.go
parentfd8c71be865386b5545571c9ff3b5c604809e133 (diff)
downloadgo-8a1f6217c57316808e8f23f5f2fa251de3c18a26.tar.gz
go-8a1f6217c57316808e8f23f5f2fa251de3c18a26.zip
[dev.ssa] cmd/compile/internal/ssa: implement ORETJMP
Change-Id: I352c7b9aab053959bc74c15861339e1dbe545ddc Reviewed-on: https://go-review.googlesource.com/14404 Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/html.go')
-rw-r--r--src/cmd/compile/internal/ssa/html.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/ssa/html.go b/src/cmd/compile/internal/ssa/html.go
index c84dccf793..68a432c676 100644
--- a/src/cmd/compile/internal/ssa/html.go
+++ b/src/cmd/compile/internal/ssa/html.go
@@ -384,6 +384,9 @@ func (b *Block) HTML() string {
func (b *Block) LongHTML() string {
// TODO: improve this for HTML?
s := fmt.Sprintf("<span class=\"%s ssa-block\">%s</span>", html.EscapeString(b.String()), html.EscapeString(b.Kind.String()))
+ if b.Aux != nil {
+ s += html.EscapeString(fmt.Sprintf(" {%v}", b.Aux))
+ }
if b.Control != nil {
s += fmt.Sprintf(" %s", b.Control.HTML())
}