diff options
author | Michael Stapelberg <stapelberg@debian.org> | 2014-06-19 09:23:02 +0200 |
---|---|---|
committer | Michael Stapelberg <stapelberg@debian.org> | 2014-06-19 09:23:02 +0200 |
commit | 8fcc691d6fa80c9ddf38bf0d34b803bab0e421d5 (patch) | |
tree | ba71646a10b518372d110532d86fcf0b98edc14f /src/cmd/5g/gg.h | |
parent | 3bb719bbf3cdb97b3901f3baaa2da9d02a5c3cdb (diff) | |
parent | 8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1 (diff) | |
download | golang-8fcc691d6fa80c9ddf38bf0d34b803bab0e421d5.tar.gz |
Merge tag 'upstream/1.3' into debian-sid
Upstream version 1.3
Diffstat (limited to 'src/cmd/5g/gg.h')
-rw-r--r-- | src/cmd/5g/gg.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/src/cmd/5g/gg.h b/src/cmd/5g/gg.h index 860817f69..413e93c24 100644 --- a/src/cmd/5g/gg.h +++ b/src/cmd/5g/gg.h @@ -9,44 +9,6 @@ #include "../gc/go.h" #include "../5l/5.out.h" -typedef struct Addr Addr; - -struct Addr -{ - int32 offset; - int32 offset2; - - union { - double dval; - vlong vval; - Prog* branch; - char sval[NSNAME]; - } u; - - Sym* sym; - Sym* gotype; - Node* node; - int width; - uchar type; - char name; - uchar reg; - uchar etype; -}; -#define A ((Addr*)0) - -struct Prog -{ - uint32 loc; // pc offset in this func - uint32 lineno; // source line that generated this - Prog* link; // next instruction in this func - void* opt; // for optimizer passes - short as; // opcode - uchar reg; // doubles as width in DATA op - uchar scond; - Addr from; // src address - Addr to; // dst address -}; - #define TEXTFLAG reg #define REGALLOC_R0 0 @@ -58,7 +20,6 @@ EXTERN int32 dynloc; EXTERN uchar reg[REGALLOC_FMAX+1]; EXTERN int32 pcloc; // instruction counter EXTERN Strlit emptystring; -extern char* anames[]; EXTERN Prog zprog; EXTERN Node* newproc; EXTERN Node* deferproc; @@ -67,7 +28,6 @@ EXTERN Node* panicindex; EXTERN Node* panicslice; EXTERN Node* throwreturn; extern long unmappedzero; -EXTERN int maxstksize; /* * gen.c @@ -156,16 +116,6 @@ void datastring(char*, int, Addr*); /* * list.c */ -int Aconv(Fmt*); -int Cconv(Fmt*); -int Dconv(Fmt*); -int Mconv(Fmt*); -int Pconv(Fmt*); -int Rconv(Fmt*); -int Yconv(Fmt*); void listinit(void); void zaddr(Biobuf*, Addr*, int, int); - -#pragma varargck type "D" Addr* -#pragma varargck type "M" Addr* |