aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/dom.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2015-06-24 14:03:39 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2015-06-24 21:48:26 +0000
commit37ddc270ca5360ccde000fd373d49b3450ee8e6e (patch)
tree523e69b7ef479ae98504503ce8b754ff25527bf9 /src/cmd/compile/internal/ssa/dom.go
parentd779b20cd2f435709cfbbbfa8af88f5e556866d8 (diff)
downloadgo-37ddc270ca5360ccde000fd373d49b3450ee8e6e.tar.gz
go-37ddc270ca5360ccde000fd373d49b3450ee8e6e.zip
[dev.ssa] cmd/compile/ssa: add -f suffix to logging methods
Requested in CL 11380. Change-Id: Icf0d23fb8d383c76272401e363cc9b2169d11403 Reviewed-on: https://go-review.googlesource.com/11450 Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/dom.go')
-rw-r--r--src/cmd/compile/internal/ssa/dom.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/ssa/dom.go b/src/cmd/compile/internal/ssa/dom.go
index fac2798a60..343df76b22 100644
--- a/src/cmd/compile/internal/ssa/dom.go
+++ b/src/cmd/compile/internal/ssa/dom.go
@@ -45,7 +45,7 @@ func postorder(f *Func) []*Block {
}
}
default:
- b.Fatal("bad stack state %v %d", b, mark[b.ID])
+ b.Fatalf("bad stack state %v %d", b, mark[b.ID])
}
}
return order
@@ -71,7 +71,7 @@ func dominators(f *Func) []*Block {
// Make the entry block a self-loop
idom[f.Entry.ID] = f.Entry
if postnum[f.Entry.ID] != len(post)-1 {
- f.Fatal("entry block %v not last in postorder", f.Entry)
+ f.Fatalf("entry block %v not last in postorder", f.Entry)
}
// Compute relaxation of idom entries