diff options
author | Luuk van Dijk <lvd@golang.org> | 2012-01-10 11:19:22 +0100 |
---|---|---|
committer | Luuk van Dijk <lvd@golang.org> | 2012-01-10 11:19:22 +0100 |
commit | e7bdb8ea02eaadcf33c48a8891acc81ad308e667 (patch) | |
tree | 0e122ea68f12f5e73239e6f3884a5d74c226c73a /src/cmd/8g/gg.h | |
parent | fc03d410de5f7f5b07848249f9cdede9c8565d01 (diff) | |
download | go-e7bdb8ea02eaadcf33c48a8891acc81ad308e667.tar.gz |
gc: Nicer errors before miscompiling.
This fixes issue 2444.
A big cleanup of all 31/32bit size boundaries i'll leave for another cl though. (see also issue 1700).
R=rsc
CC=golang-dev
http://codereview.appspot.com/5484058
Diffstat (limited to 'src/cmd/8g/gg.h')
-rw-r--r-- | src/cmd/8g/gg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/8g/gg.h b/src/cmd/8g/gg.h index 021a94337..0a4f0ad2d 100644 --- a/src/cmd/8g/gg.h +++ b/src/cmd/8g/gg.h @@ -99,7 +99,7 @@ void agenr(Node *n, Node *a, Node *res); void igen(Node*, Node*, Node*); vlong fieldoffset(Type*, Node*); void bgen(Node*, int, Prog*); -void sgen(Node*, Node*, int32); +void sgen(Node*, Node*, int64); void gmove(Node*, Node*); Prog* gins(int, Node*, Node*); int samaddr(Node*, Node*); |