summaryrefslogtreecommitdiff
path: root/src/cmd/9g/gg.h
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2014-08-13 11:39:07 -0400
committerShenghou Ma <minux@golang.org>2014-08-13 11:39:07 -0400
commit28b121f6edd0262b48d744a9127fd7d6c417d2e3 (patch)
treec259fe82c3213555c65eabd64d3e791b76925712 /src/cmd/9g/gg.h
parent04d3bcd72901222de30ba28a643a386da4a5c0a3 (diff)
downloadgo-28b121f6edd0262b48d744a9127fd7d6c417d2e3.tar.gz
[dev.power64] cmd/9g: do not ignore move instructions even if from and to are samaddr()
Those moves might be significant (e.g. narrowing or widening): on Power64, we don't distinguish between MOVWD and MOVW. This fixes divmode.go and bug447.go. LGTM=rsc R=rsc, iant CC=golang-codereviews https://codereview.appspot.com/125200043 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/9g/gg.h')
-rw-r--r--src/cmd/9g/gg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/9g/gg.h b/src/cmd/9g/gg.h
index 319702200..6aa00117f 100644
--- a/src/cmd/9g/gg.h
+++ b/src/cmd/9g/gg.h
@@ -62,7 +62,6 @@ vlong fieldoffset(Type*, Node*);
void sgen(Node*, Node*, int64);
void gmove(Node*, Node*);
Prog* gins(int, Node*, Node*);
-int samaddr(Node*, Node*);
void naddr(Node*, Addr*, int);
void cgen_aret(Node*, Node*);
int componentgen(Node*, Node*);