[go.tools] push by g...@golang.org - go.tools/ssa: fix debug printing... on 2013-05-25 16:52 GMT

2 views
Skip to first unread message

g...@googlecode.com

unread,
May 25, 2013, 12:52:24 PM5/25/13
to golang-...@googlegroups.com
Revision: 7730491448d2
Branch: default
Author: Robert Griesemer <g...@golang.org>
Date: Sat May 25 09:51:29 2013
Log: go.tools/ssa: fix debug printing

R=adonovan, r
CC=golang-dev
https://codereview.appspot.com/9774043
http://code.google.com/p/go/source/detail?r=7730491448d2&repo=tools

Modified:
/ssa/promote.go

=======================================
--- /ssa/promote.go Wed May 22 14:56:18 2013
+++ /ssa/promote.go Sat May 25 09:51:29 2013
@@ -262,7 +262,7 @@
sig := types.NewSignature(types.NewVar(nil, "recv", typ), old.Params(),
old.Results(), old.IsVariadic())

if prog.mode&LogSource != 0 {
- defer logStack("makeBridgeMethod %s, %s, type %s", typ, cand, &sig)()
+ defer logStack("makeBridgeMethod %s, %s, type %s", typ, cand, sig)()
}

fn := &Function{
Reply all
Reply to author
Forward
0 new messages