mirror of
https://github.com/golang/go
synced 2024-10-05 21:31: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:
parent
a678a5c7a5
commit
faee392814
@ -351,7 +351,7 @@ func regalloc(f *Func) {
|
|||||||
if b.Kind == BlockCall {
|
if b.Kind == BlockCall {
|
||||||
call = b.Control
|
call = b.Control
|
||||||
if call != b.Values[len(b.Values)-1] {
|
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]
|
b.Values = b.Values[:len(b.Values)-1]
|
||||||
// TODO: do this for all control types?
|
// TODO: do this for all control types?
|
||||||
|
Loading…
Reference in New Issue
Block a user