1
0
mirror of https://github.com/golang/go synced 2024-10-05 16:51:21 -06:00

[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 <khr@golang.org>
This commit is contained in:
Todd Neal 2015-08-03 19:28:48 -05:00
parent a678a5c7a5
commit faee392814

View 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?