LEFT | RIGHT |
(no file at all) | |
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 <bio.h> | 5 #include <bio.h> |
6 | 6 |
7 #undef OAPPEND | 7 #undef OAPPEND |
8 | 8 |
9 // avoid <ctype.h> | 9 // avoid <ctype.h> |
10 #undef isblank | 10 #undef isblank |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 Type* outer; // outer struct | 184 Type* outer; // outer struct |
185 Strlit* note; // literal string annotation | 185 Strlit* note; // literal string annotation |
186 | 186 |
187 // TARRAY | 187 // TARRAY |
188 vlong bound; // negative is dynamic array | 188 vlong bound; // negative is dynamic array |
189 | 189 |
190 // TMAP | 190 // TMAP |
191 Type* bucket; // internal type representing a hash bucket | 191 Type* bucket; // internal type representing a hash bucket |
192 Type* hmap; // internal type representing a Hmap (map header
object) | 192 Type* hmap; // internal type representing a Hmap (map header
object) |
193 Type* hiter; // internal type representing hash iterator stat
e | 193 Type* hiter; // internal type representing hash iterator stat
e |
| 194 Type* map; // link from the above 3 internal types back to
the map type. |
194 | 195 |
195 int32 maplineno; // first use of TFORW as map key | 196 int32 maplineno; // first use of TFORW as map key |
196 int32 embedlineno; // first use of TFORW as embedded type | 197 int32 embedlineno; // first use of TFORW as embedded type |
197 ········ | 198 ········ |
198 // for TFORW, where to copy the eventual value to | 199 // for TFORW, where to copy the eventual value to |
199 NodeList *copyto; | 200 NodeList *copyto; |
200 ········ | 201 ········ |
201 Node *lastfn; // for usefield | 202 Node *lastfn; // for usefield |
202 }; | 203 }; |
203 #define T ((Type*)0) | 204 #define T ((Type*)0) |
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1528 #pragma varargck type "T" Type* | 1529 #pragma varargck type "T" Type* |
1529 #pragma varargck type "lT" Type* | 1530 #pragma varargck type "lT" Type* |
1530 #pragma varargck type "V" Val* | 1531 #pragma varargck type "V" Val* |
1531 #pragma varargck type "Y" char* | 1532 #pragma varargck type "Y" char* |
1532 #pragma varargck type "Z" Strlit* | 1533 #pragma varargck type "Z" Strlit* |
1533 | 1534 |
1534 /* | 1535 /* |
1535 * racewalk.c | 1536 * racewalk.c |
1536 */ | 1537 */ |
1537 void racewalk(Node *fn); | 1538 void racewalk(Node *fn); |
LEFT | RIGHT |