summaryrefslogtreecommitdiff
path: root/src/cmd/5g/opt.h
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2014-11-14 11:56:31 -0500
committerAustin Clements <austin@google.com>2014-11-14 11:56:31 -0500
commit3d0470bf49a2e0c53148d38f8f117e6a1f2090a0 (patch)
treeb551038d091db782dc09838324881903f5b2729e /src/cmd/5g/opt.h
parent9e0df37f450e937b3e2740da585eb7fe82aa3b2b (diff)
downloadgo-3d0470bf49a2e0c53148d38f8f117e6a1f2090a0.tar.gz
[dev.power64] 5g,6g,8g,9g: debug prints for regopt pass 6 and paint2
Theses were very helpful in understanding the regions and register selection when porting regopt to 9g. Add them to the other compilers (and improve 9g's successor debug print). LGTM=rsc R=rsc CC=golang-codereviews https://codereview.appspot.com/174130043
Diffstat (limited to 'src/cmd/5g/opt.h')
-rw-r--r--src/cmd/5g/opt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/5g/opt.h b/src/cmd/5g/opt.h
index 01edeb84d..a606f1d31 100644
--- a/src/cmd/5g/opt.h
+++ b/src/cmd/5g/opt.h
@@ -160,7 +160,7 @@ void prop(Reg*, Bits, Bits);
void synch(Reg*, Bits);
uint32 allreg(uint32, Rgn*);
void paint1(Reg*, int);
-uint32 paint2(Reg*, int);
+uint32 paint2(Reg*, int, int);
void paint3(Reg*, int, uint32, int);
void addreg(Adr*, int);
void dumpit(char *str, Flow *r0, int);