summaryrefslogtreecommitdiff
path: root/src/cmd/gc/go.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-03-31 11:46:01 -0700
committerRuss Cox <rsc@golang.org>2010-03-31 11:46:01 -0700
commitea38be0512395c8f81417fb75ce98664d9329b9b (patch)
tree6fd09575dcc2abccf75c017828b45ddbb98c3e88 /src/cmd/gc/go.h
parent867aa94eb6c414512801b14f5931dc27d51cd3d4 (diff)
downloadgolang-ea38be0512395c8f81417fb75ce98664d9329b9b.tar.gz
gc: implement panic and recover
R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/831042
Diffstat (limited to 'src/cmd/gc/go.h')
-rw-r--r--src/cmd/gc/go.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/gc/go.h b/src/cmd/gc/go.h
index 7ae5d9928..dabf5d3f5 100644
--- a/src/cmd/gc/go.h
+++ b/src/cmd/gc/go.h
@@ -1004,7 +1004,7 @@ NodeList* constiter(NodeList*, Node*, NodeList*);
Node* unsafenmagic(Node*, NodeList*);
void dclchecks(void);
-void funccompile(Node*);
+void funccompile(Node*, int);
Node* typedcl0(Sym*);
Node* typedcl1(Node*, Node*, int);
@@ -1169,6 +1169,8 @@ EXTERN Prog* breakpc;
EXTERN Prog* pc;
EXTERN Prog* firstpc;
+EXTERN Node* nodfp;
+
void allocparams(void);
void cgen_as(Node *nl, Node *nr);
void cgen_callmeth(Node *n, int proc);