1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:44:43 -07:00

cmd/compile/internal/ssa: display NamedValues in SSA html output.

Change-Id: If268b42b32e6bcd6e7913bffa6e493dc78af40aa
Reviewed-on: https://go-review.googlesource.com/36539
TryBot-Result: Gobot Gobot <gobot@golang.org>
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Heschi Kreinick 2017-02-07 15:49:43 -05:00 committed by Matthew Dempsky
parent 2ac32b6360
commit 35a95df571

View File

@ -471,5 +471,9 @@ func (p htmlFuncPrinter) endDepCycle() {
}
func (p htmlFuncPrinter) named(n LocalSlot, vals []*Value) {
// TODO
fmt.Fprintf(p.w, "<li>name %s: ", n.Name())
for _, val := range vals {
fmt.Fprintf(p.w, "%s ", val.HTML())
}
fmt.Fprintf(p.w, "</li>")
}