1
0
mirror of https://github.com/golang/go synced 2024-11-19 16:44:43 -07:00

cmd/5g: fix print format in peephole debugging

Fixes #7294.

LGTM=minux.ma, dave, bradfitz
R=golang-codereviews, minux.ma, dave, bradfitz
CC=golang-codereviews
https://golang.org/cl/61370043
This commit is contained in:
Anthony Martin 2014-02-12 17:03:21 -08:00
parent 5bf35df491
commit 27cb59fdad

View File

@ -545,7 +545,7 @@ gotit:
break;
}
if(debug['P'])
print(" => %nil\n", p->as);
print(" => %A\n", p->as);
return 1;
}
@ -936,7 +936,7 @@ copyu(Prog *p, Adr *v, Adr *s)
switch(p->as) {
default:
print("copyu: can't find %nil\n", p->as);
print("copyu: can't find %A\n", p->as);
return 2;
case AMOVM: