summaryrefslogtreecommitdiff
path: root/src/cmd/5g/opt.h
diff options
context:
space:
mode:
authorKen Thompson <ken@golang.org>2011-01-17 20:39:26 -0800
committerKen Thompson <ken@golang.org>2011-01-17 20:39:26 -0800
commit0f7fdb47f1c813b316f1741fee28194113d95aed (patch)
treef34db25990c955d819a5a906a19aa29836925af0 /src/cmd/5g/opt.h
parent5a7ca8218251c6f095a39ed8ff633a32e901fbaf (diff)
downloadgo-0f7fdb47f1c813b316f1741fee28194113d95aed.tar.gz
arm reg bug with SP adjust
after call to deferproc R=r CC=golang-dev http://codereview.appspot.com/4059041
Diffstat (limited to 'src/cmd/5g/opt.h')
-rw-r--r--src/cmd/5g/opt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/5g/opt.h b/src/cmd/5g/opt.h
index 9a4e17571..a3e3abc13 100644
--- a/src/cmd/5g/opt.h
+++ b/src/cmd/5g/opt.h
@@ -69,6 +69,7 @@ struct Reg
uint16 loop; // x5 for every loop
uchar refset; // diagnostic generated
+ uchar nomove; // funny mov instruction
Reg* p1;
Reg* p2;
@@ -128,7 +129,7 @@ Reg* rega(void);
int rcmp(const void*, const void*);
void regopt(Prog*);
void addmove(Reg*, int, int, int);
-Bits mkvar(Reg *r, Adr *a, int);
+Bits mkvar(Reg *r, Adr *a);
void prop(Reg*, Bits, Bits);
void loopit(Reg*, int32);
void synch(Reg*, Bits);