mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.ssa] cmd/compile: add likely annotations to blocks in html
This was missing from CL 13472 due to a badly synced client. Change-Id: If59fc669125dd1caa335dacfbf0f8dbd7b074312 Reviewed-on: https://go-review.googlesource.com/13639 Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
parent
997a9f32b0
commit
759b9c3b80
1 changed files with 6 additions and 0 deletions
|
|
@ -389,6 +389,12 @@ func (b *Block) LongHTML() string {
|
|||
s += " " + c.HTML()
|
||||
}
|
||||
}
|
||||
switch b.Likely {
|
||||
case BranchUnlikely:
|
||||
s += " (unlikely)"
|
||||
case BranchLikely:
|
||||
s += " (likely)"
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue