go.tools/ssa: use correct Alloc.Comment in lifting.
(Only affects diagnostic output.) R=gri, gri CC=golang-dev https://golang.org/cl/23770046
This commit is contained in:
parent
626e9341d5
commit
e7a2e079b0
|
@ -390,7 +390,7 @@ func liftAlloc(df domFrontier, alloc *Alloc, newPhis newPhiMap) bool {
|
||||||
// It will be prepended to v.Instrs later, if needed.
|
// It will be prepended to v.Instrs later, if needed.
|
||||||
phi := &Phi{
|
phi := &Phi{
|
||||||
Edges: make([]Value, len(v.Preds)),
|
Edges: make([]Value, len(v.Preds)),
|
||||||
Comment: alloc.Name(),
|
Comment: alloc.Comment,
|
||||||
}
|
}
|
||||||
phi.pos = alloc.Pos()
|
phi.pos = alloc.Pos()
|
||||||
phi.setType(deref(alloc.Type()))
|
phi.setType(deref(alloc.Type()))
|
||||||
|
|
Loading…
Reference in New Issue