OLD | NEW |
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 EXTERN uchar reg[D_NONE]; | 57 EXTERN uchar reg[D_NONE]; |
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*» panicindex; |
68 EXTERN» Node*» throwslice; | 68 EXTERN» Node*» panicslice; |
69 EXTERN Node* throwreturn; | 69 EXTERN Node* throwreturn; |
70 EXTERN int maxstksize; | 70 EXTERN int maxstksize; |
71 extern uint32 unmappedzero; | 71 extern uint32 unmappedzero; |
72 | 72 |
73 | 73 |
74 /* | 74 /* |
75 * ggen.c | 75 * ggen.c |
76 */ | 76 */ |
77 void compile(Node*); | 77 void compile(Node*); |
78 void proglist(void); | 78 void proglist(void); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 */ | 176 */ |
177 int Aconv(Fmt*); | 177 int Aconv(Fmt*); |
178 int Dconv(Fmt*); | 178 int Dconv(Fmt*); |
179 int Pconv(Fmt*); | 179 int Pconv(Fmt*); |
180 int Rconv(Fmt*); | 180 int Rconv(Fmt*); |
181 int Yconv(Fmt*); | 181 int Yconv(Fmt*); |
182 void listinit(void); | 182 void listinit(void); |
183 | 183 |
184 void zaddr(Biobuf*, Addr*, int, int); | 184 void zaddr(Biobuf*, Addr*, int, int); |
185 | 185 |
OLD | NEW |