]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.ssa] cmd/compile/ssa : fix typo in error message
authorTodd Neal <todd@tneal.org>
Tue, 4 Aug 2015 00:28:48 +0000 (19:28 -0500)
committerTodd Neal <todd@tneal.org>
Tue, 4 Aug 2015 00:34:45 +0000 (00:34 +0000)
Change-Id: Ibb5169aade15190773ff7dd11b303c1f1345a0c2
Reviewed-on: https://go-review.googlesource.com/13100
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/regalloc.go

index 7e8f2ae354f726e8962285ad7e2c62ab52cd3a52..46efa9859e85dc921de23ddd6545a960b1a6f290 100644 (file)
@@ -351,7 +351,7 @@ func regalloc(f *Func) {
                if b.Kind == BlockCall {
                        call = b.Control
                        if call != b.Values[len(b.Values)-1] {
-                               b.Fatalf("call not at end of block %b %v", b, call)
+                               b.Fatalf("call not at end of block %v %v", b, call)
                        }
                        b.Values = b.Values[:len(b.Values)-1]
                        // TODO: do this for all control types?