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:
parent
2ac32b6360
commit
35a95df571
@ -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>")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user