Commit 617b7cf1 authored by Rémy Oudompheng's avatar Rémy Oudompheng

cmd/[568]g: header cleanup.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6573059
parent e289a2b9
...@@ -117,14 +117,11 @@ void clearp(Prog*); ...@@ -117,14 +117,11 @@ void clearp(Prog*);
void proglist(void); void proglist(void);
Prog* gbranch(int, Type*, int); Prog* gbranch(int, Type*, int);
Prog* prog(int); Prog* prog(int);
void gaddoffset(Node*);
void gconv(int, int); void gconv(int, int);
int conv2pt(Type*); int conv2pt(Type*);
vlong convvtox(vlong, int); vlong convvtox(vlong, int);
void fnparam(Type*, int, int); void fnparam(Type*, int, int);
Prog* gop(int, Node*, Node*, Node*); Prog* gop(int, Node*, Node*, Node*);
void setconst(Addr*, vlong);
void setaddr(Addr*, Node*);
int optoas(int, Type*); int optoas(int, Type*);
void ginit(void); void ginit(void);
void gclean(void); void gclean(void);
......
...@@ -58,7 +58,7 @@ EXTERN Node* throwreturn; ...@@ -58,7 +58,7 @@ EXTERN Node* throwreturn;
extern vlong unmappedzero; extern vlong unmappedzero;
/* /*
* gen.c * ggen.c
*/ */
void compile(Node*); void compile(Node*);
void proglist(void); void proglist(void);
...@@ -81,7 +81,7 @@ void ginscall(Node*, int); ...@@ -81,7 +81,7 @@ void ginscall(Node*, int);
int gen_as_init(Node*); int gen_as_init(Node*);
/* /*
* cgen * cgen.c
*/ */
void agen(Node*, Node*); void agen(Node*, Node*);
void igen(Node*, Node*, Node*); void igen(Node*, Node*, Node*);
...@@ -103,7 +103,6 @@ void clearp(Prog*); ...@@ -103,7 +103,6 @@ void clearp(Prog*);
void proglist(void); void proglist(void);
Prog* gbranch(int, Type*, int); Prog* gbranch(int, Type*, int);
Prog* prog(int); Prog* prog(int);
void gaddoffset(Node*);
void gconv(int, int); void gconv(int, int);
int conv2pt(Type*); int conv2pt(Type*);
vlong convvtox(vlong, int); vlong convvtox(vlong, int);
...@@ -125,7 +124,6 @@ int isfat(Type*); ...@@ -125,7 +124,6 @@ int isfat(Type*);
void sudoclean(void); void sudoclean(void);
int sudoaddable(int, Node*, Addr*); int sudoaddable(int, Node*, Addr*);
void afunclit(Addr*); void afunclit(Addr*);
void datagostring(Strlit*, Addr*);
void nodfconst(Node*, Type*, Mpflt*); void nodfconst(Node*, Type*, Mpflt*);
/* /*
...@@ -139,6 +137,7 @@ void complexgen(Node*, Node*); ...@@ -139,6 +137,7 @@ void complexgen(Node*, Node*);
* gobj.c * gobj.c
*/ */
void datastring(char*, int, Addr*); void datastring(char*, int, Addr*);
void datagostring(Strlit*, Addr*);
/* /*
* list.c * list.c
......
...@@ -122,14 +122,11 @@ void clearp(Prog*); ...@@ -122,14 +122,11 @@ void clearp(Prog*);
void proglist(void); void proglist(void);
Prog* gbranch(int, Type*, int); Prog* gbranch(int, Type*, int);
Prog* prog(int); Prog* prog(int);
void gaddoffset(Node*);
void gconv(int, int); void gconv(int, int);
int conv2pt(Type*); int conv2pt(Type*);
vlong convvtox(vlong, int); vlong convvtox(vlong, int);
void fnparam(Type*, int, int); void fnparam(Type*, int, int);
Prog* gop(int, Node*, Node*, Node*); Prog* gop(int, Node*, Node*, Node*);
void setconst(Addr*, vlong);
void setaddr(Addr*, Node*);
int optoas(int, Type*); int optoas(int, Type*);
int foptoas(int, Type*, int); int foptoas(int, Type*, int);
void ginit(void); void ginit(void);
...@@ -141,8 +138,6 @@ void nodreg(Node*, Type*, int); ...@@ -141,8 +138,6 @@ void nodreg(Node*, Type*, int);
void nodindreg(Node*, Type*, int); void nodindreg(Node*, Type*, int);
void nodconst(Node*, Type*, int64); void nodconst(Node*, Type*, int64);
void gconreg(int, vlong, int); void gconreg(int, vlong, int);
void datagostring(Strlit*, Addr*);
void datastring(char*, int, Addr*);
void buildtxt(void); void buildtxt(void);
Plist* newplist(void); Plist* newplist(void);
int isfat(Type*); int isfat(Type*);
...@@ -161,6 +156,12 @@ int complexop(Node*, Node*); ...@@ -161,6 +156,12 @@ int complexop(Node*, Node*);
void complexmove(Node*, Node*); void complexmove(Node*, Node*);
void complexgen(Node*, Node*); void complexgen(Node*, Node*);
/*
* gobj.c
*/
void datastring(char*, int, Addr*);
void datagostring(Strlit*, Addr*);
/* /*
* list.c * list.c
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment