From faee392814f118d0d1c8103bb46965267e8619f7 Mon Sep 17 00:00:00 2001 From: Todd Neal Date: Mon, 3 Aug 2015 19:28:48 -0500 Subject: [PATCH] [dev.ssa] cmd/compile/ssa : fix typo in error message Change-Id: Ibb5169aade15190773ff7dd11b303c1f1345a0c2 Reviewed-on: https://go-review.googlesource.com/13100 Reviewed-by: Keith Randall --- src/cmd/compile/internal/ssa/regalloc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/ssa/regalloc.go b/src/cmd/compile/internal/ssa/regalloc.go index 7e8f2ae354..46efa9859e 100644 --- a/src/cmd/compile/internal/ssa/regalloc.go +++ b/src/cmd/compile/internal/ssa/regalloc.go @@ -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?