Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
617b7cf1
Commit
617b7cf1
authored
Sep 27, 2012
by
Rémy Oudompheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/[568]g: header cleanup.
R=golang-dev, r CC=golang-dev
https://golang.org/cl/6573059
parent
e289a2b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
src/cmd/5g/gg.h
src/cmd/5g/gg.h
+0
-3
src/cmd/6g/gg.h
src/cmd/6g/gg.h
+3
-4
src/cmd/8g/gg.h
src/cmd/8g/gg.h
+6
-5
No files found.
src/cmd/5g/gg.h
View file @
617b7cf1
...
@@ -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
);
...
...
src/cmd/6g/gg.h
View file @
617b7cf1
...
@@ -58,7 +58,7 @@ EXTERN Node* throwreturn;
...
@@ -58,7 +58,7 @@ EXTERN Node* throwreturn;
extern
vlong
unmappedzero
;
extern
vlong
unmappedzero
;
/*
/*
* gen.c
* g
g
en.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
...
...
src/cmd/8g/gg.h
View file @
617b7cf1
...
@@ -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
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment