Commit 35a95df5 authored by Heschi Kreinick's avatar Heschi Kreinick Committed by Matthew Dempsky

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: default avatarMatthew Dempsky <mdempsky@google.com>
parent 2ac32b63
...@@ -471,5 +471,9 @@ func (p htmlFuncPrinter) endDepCycle() { ...@@ -471,5 +471,9 @@ func (p htmlFuncPrinter) endDepCycle() {
} }
func (p htmlFuncPrinter) named(n LocalSlot, vals []*Value) { 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>")
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment