From e7a2e079b030b54a7e47bfe3f71182b974b60eab Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Tue, 12 Nov 2013 23:04:09 -0500 Subject: [PATCH] go.tools/ssa: use correct Alloc.Comment in lifting. (Only affects diagnostic output.) R=gri, gri CC=golang-dev https://golang.org/cl/23770046 --- ssa/lift.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssa/lift.go b/ssa/lift.go index 18f28878..f509f8ea 100644 --- a/ssa/lift.go +++ b/ssa/lift.go @@ -390,7 +390,7 @@ func liftAlloc(df domFrontier, alloc *Alloc, newPhis newPhiMap) bool { // It will be prepended to v.Instrs later, if needed. phi := &Phi{ Edges: make([]Value, len(v.Preds)), - Comment: alloc.Name(), + Comment: alloc.Comment, } phi.pos = alloc.Pos() phi.setType(deref(alloc.Type()))