Left: | ||
Right: |
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 <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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
163 Type* method; | 163 Type* method; |
164 Type* xmethod; | 164 Type* xmethod; |
165 | 165 |
166 Sym* sym; | 166 Sym* sym; |
167 int32 vargen; // unique name for OTYPE/ONAME | 167 int32 vargen; // unique name for OTYPE/ONAME |
168 | 168 |
169 Node* nname; | 169 Node* nname; |
170 vlong argwid; | 170 vlong argwid; |
171 | 171 |
172 // most nodes | 172 // most nodes |
173 » Type*» type; | 173 » Type*» type;» » // the element type, like Elem in reflect |
rsc
2012/09/24 14:38:38
// actual type for TFIELD, element type for TARRAY
remyoudompheng
2012/09/24 21:09:18
Done.
| |
174 vlong width; // offset in TFIELD, width in all others | 174 vlong width; // offset in TFIELD, width in all others |
175 | 175 |
176 // TFIELD | 176 // TFIELD |
177 Type* down; // also used in TMAP | 177 Type* down; // also used in TMAP |
rsc
2012/09/24 14:38:38
// also key type in TMAP
remyoudompheng
2012/09/24 21:09:18
Done.
| |
178 Strlit* note; // literal string annotation | 178 Strlit* note; // literal string annotation |
179 | 179 |
180 // TARRAY | 180 // TARRAY |
181 int32 bound; // negative is dynamic array | 181 int32 bound; // negative is dynamic array |
182 | 182 |
183 int32 maplineno; // first use of TFORW as map key | 183 int32 maplineno; // first use of TFORW as map key |
184 int32 embedlineno; // first use of TFORW as embedded type | 184 int32 embedlineno; // first use of TFORW as embedded type |
185 ········ | 185 ········ |
186 // for TFORW, where to copy the eventual value to | 186 // for TFORW, where to copy the eventual value to |
187 NodeList *copyto; | 187 NodeList *copyto; |
(...skipping 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1433 #pragma varargck type "P" Prog* | 1433 #pragma varargck type "P" Prog* |
1434 #pragma varargck type "Q" Bits | 1434 #pragma varargck type "Q" Bits |
1435 #pragma varargck type "R" int | 1435 #pragma varargck type "R" int |
1436 #pragma varargck type "S" Sym* | 1436 #pragma varargck type "S" Sym* |
1437 #pragma varargck type "lS" Sym* | 1437 #pragma varargck type "lS" Sym* |
1438 #pragma varargck type "T" Type* | 1438 #pragma varargck type "T" Type* |
1439 #pragma varargck type "lT" Type* | 1439 #pragma varargck type "lT" Type* |
1440 #pragma varargck type "V" Val* | 1440 #pragma varargck type "V" Val* |
1441 #pragma varargck type "Y" char* | 1441 #pragma varargck type "Y" char* |
1442 #pragma varargck type "Z" Strlit* | 1442 #pragma varargck type "Z" Strlit* |
OLD | NEW |