Commit 27cb59fd authored by Anthony Martin's avatar Anthony Martin

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
parent 5bf35df4
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment