mirror of
https://github.com/golang/go
synced 2024-10-05 18:21:21 -06: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
@ -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…
Reference in New Issue
Block a user