Reviewers: adonovan,
Message:
Hello adonovan (cc:
golan...@googlegroups.com),
I'd like you to review this change to
https://code.google.com/p/go.tools
Description:
go.tools/ssa: fix debug printing
Please review this at
https://codereview.appspot.com/9774043/
Affected files:
M ssa/promote.go
Index: ssa/promote.go
===================================================================
--- a/ssa/promote.go
+++ b/ssa/promote.go
@@ -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{