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

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

Issue 871042: code review 871042: runtime: turn run time errors checks into panics (Closed)
Patch Set: code review 871042: runtime: turn run time errors checks into panics Created 14 years, 12 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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