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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 Node* inlvar; | 299 Node* inlvar; |
300 | 300 |
301 // OPACK | 301 // OPACK |
302 Pkg* pkg; | 302 Pkg* pkg; |
303 ········ | 303 ········ |
304 // OARRAYLIT, OMAPLIT, OSTRUCTLIT. | 304 // OARRAYLIT, OMAPLIT, OSTRUCTLIT. |
305 InitPlan* initplan; | 305 InitPlan* initplan; |
306 | 306 |
307 // Escape analysis. | 307 // Escape analysis. |
308 NodeList* escflowsrc; // flow(this, src) | 308 NodeList* escflowsrc; // flow(this, src) |
309 » int» escloopdepth;» // -1: global, 0: not set, function top level:1,
increased inside function for every loop or label to mark scopes | 309 » NodeList* escretval;» // on OCALLxxx, list of dummy return values |
| 310 » int» escloopdepth;» // -1: global, 0: return variables, 1:function t
op level, increased inside function for every loop or label to mark scopes |
310 | 311 |
311 Sym* sym; // various | 312 Sym* sym; // various |
312 int32 vargen; // unique name for OTYPE/ONAME | 313 int32 vargen; // unique name for OTYPE/ONAME |
313 int32 lineno; | 314 int32 lineno; |
314 int32 endlineno; | 315 int32 endlineno; |
315 vlong xoffset; | 316 vlong xoffset; |
316 int32 stkdelta; // offset added by stack frame compaction phase. | 317 int32 stkdelta; // offset added by stack frame compaction phase. |
317 int32 ostk; | 318 int32 ostk; |
318 int32 iota; | 319 int32 iota; |
319 uint32 walkgen; | 320 uint32 walkgen; |
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1445 #pragma varargck type "T" Type* | 1446 #pragma varargck type "T" Type* |
1446 #pragma varargck type "lT" Type* | 1447 #pragma varargck type "lT" Type* |
1447 #pragma varargck type "V" Val* | 1448 #pragma varargck type "V" Val* |
1448 #pragma varargck type "Y" char* | 1449 #pragma varargck type "Y" char* |
1449 #pragma varargck type "Z" Strlit* | 1450 #pragma varargck type "Z" Strlit* |
1450 | 1451 |
1451 /* | 1452 /* |
1452 * racewalk.c | 1453 * racewalk.c |
1453 */ | 1454 */ |
1454 void racewalk(Node *fn); | 1455 void racewalk(Node *fn); |
OLD | NEW |