Skip to content

Commit

Permalink
cmd/compile/internal/ssa: display NamedValues in SSA html output.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
heschi authored and mdempsky committed Feb 15, 2017
1 parent 2ac32b6 commit 35a95df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cmd/compile/internal/ssa/html.go
Original file line number Diff line number Diff line change
Expand Up @@ -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>")
}

0 comments on commit 35a95df

Please sign in to comment.