Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2239)

Side by Side Diff: src/cmd/8g/gg.h

Issue 157106: x[lo:] (Closed)
Patch Set: code review 157106: x[lo:] - gc and runtime. Created 15 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/cmd/8g/cgen.c ('k') | src/cmd/8g/ggen.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 #include <u.h> 5 #include <u.h>
6 #include <libc.h> 6 #include <libc.h>
7 7
8 #include "../gc/go.h" 8 #include "../gc/go.h"
9 #include "../8l/8.out.h" 9 #include "../8l/8.out.h"
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 EXTERN int32 pcloc; // instruction counter 58 EXTERN int32 pcloc; // instruction counter
59 EXTERN Strlit emptystring; 59 EXTERN Strlit emptystring;
60 extern char* anames[]; 60 extern char* anames[];
61 EXTERN Hist* hist; 61 EXTERN Hist* hist;
62 EXTERN Prog zprog; 62 EXTERN Prog zprog;
63 EXTERN Node* curfn; 63 EXTERN Node* curfn;
64 EXTERN Node* newproc; 64 EXTERN Node* newproc;
65 EXTERN Node* deferproc; 65 EXTERN Node* deferproc;
66 EXTERN Node* deferreturn; 66 EXTERN Node* deferreturn;
67 EXTERN Node* throwindex; 67 EXTERN Node* throwindex;
68 EXTERN Node* throwslice;
68 EXTERN Node* throwreturn; 69 EXTERN Node* throwreturn;
69 EXTERN int maxstksize; 70 EXTERN int maxstksize;
70 extern uint32 unmappedzero; 71 extern uint32 unmappedzero;
71 72
72 73
73 /* 74 /*
74 * ggen.c 75 * ggen.c
75 */ 76 */
76 void compile(Node*); 77 void compile(Node*);
77 void proglist(void); 78 void proglist(void);
(...skipping 21 matching lines...) Expand all
99 void agenr(Node *n, Node *a, Node *res); 100 void agenr(Node *n, Node *a, Node *res);
100 void igen(Node*, Node*, Node*); 101 void igen(Node*, Node*, Node*);
101 vlong fieldoffset(Type*, Node*); 102 vlong fieldoffset(Type*, Node*);
102 void bgen(Node*, int, Prog*); 103 void bgen(Node*, int, Prog*);
103 void sgen(Node*, Node*, int32); 104 void sgen(Node*, Node*, int32);
104 void gmove(Node*, Node*); 105 void gmove(Node*, Node*);
105 Prog* gins(int, Node*, Node*); 106 Prog* gins(int, Node*, Node*);
106 int samaddr(Node*, Node*); 107 int samaddr(Node*, Node*);
107 void naddr(Node*, Addr*, int); 108 void naddr(Node*, Addr*, int);
108 void cgen_aret(Node*, Node*); 109 void cgen_aret(Node*, Node*);
110 int cgen_inline(Node*, Node*);
109 Node* ncon(uint32); 111 Node* ncon(uint32);
110 112
111 /* 113 /*
112 * cgen64.c 114 * cgen64.c
113 */ 115 */
114 void cmp64(Node*, Node*, int, Prog*); 116 void cmp64(Node*, Node*, int, Prog*);
115 void cgen64(Node*, Node*); 117 void cgen64(Node*, Node*);
116 118
117 /* 119 /*
118 * gsubr.c 120 * gsubr.c
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 */ 168 */
167 int Aconv(Fmt*); 169 int Aconv(Fmt*);
168 int Dconv(Fmt*); 170 int Dconv(Fmt*);
169 int Pconv(Fmt*); 171 int Pconv(Fmt*);
170 int Rconv(Fmt*); 172 int Rconv(Fmt*);
171 int Yconv(Fmt*); 173 int Yconv(Fmt*);
172 void listinit(void); 174 void listinit(void);
173 175
174 void zaddr(Biobuf*, Addr*, int, int); 176 void zaddr(Biobuf*, Addr*, int, int);
175 177
OLDNEW
« no previous file with comments | « src/cmd/8g/cgen.c ('k') | src/cmd/8g/ggen.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b