Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(456)

Unified Diff: src/pkg/exp/ssa/promote.go

Issue 7364051: code review 7364051: exp/ssa: resolve botched merge. (Closed)
Patch Set: diff -r 37d391191e3f https://code.google.com/p/go/ Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/exp/ssa/builder.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/exp/ssa/promote.go
===================================================================
--- a/src/pkg/exp/ssa/promote.go
+++ b/src/pkg/exp/ssa/promote.go
@@ -8,7 +8,6 @@
import (
"fmt"
"go/types"
- "os"
)
// anonFieldPath is a linked list of anonymous fields entered by
@@ -121,7 +120,7 @@
//
func buildMethodSet(prog *Program, typ types.Type) MethodSet {
if prog.mode&LogSource != 0 {
- fmt.Fprintf(os.Stderr, "buildMethodSet %s %T\n", typ, typ)
+ defer logStack("buildMethodSet %s %T", typ, typ)()
}
// cands maps ids (field and method names) encountered at any
« no previous file with comments | « src/pkg/exp/ssa/builder.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b