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 <u.h> | 5 #include <u.h> |
6 #include <libc.h> | 6 #include <libc.h> |
7 #include <bio.h> | 7 #include <bio.h> |
8 | 8 |
9 #undef OAPPEND | 9 #undef OAPPEND |
10 | 10 |
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 Bits bor(Bits a, Bits b); | 810 Bits bor(Bits a, Bits b); |
811 int bset(Bits a, uint n); | 811 int bset(Bits a, uint n); |
812 | 812 |
813 /* | 813 /* |
814 * closure.c | 814 * closure.c |
815 */ | 815 */ |
816 Node* closurebody(NodeList *body); | 816 Node* closurebody(NodeList *body); |
817 void closurehdr(Node *ntype); | 817 void closurehdr(Node *ntype); |
818 void typecheckclosure(Node *func); | 818 void typecheckclosure(Node *func); |
819 Node* walkclosure(Node *func, NodeList **init); | 819 Node* walkclosure(Node *func, NodeList **init); |
| 820 void walkcallclosure(Node *n, NodeList **init); |
820 | 821 |
821 /* | 822 /* |
822 * const.c | 823 * const.c |
823 */ | 824 */ |
824 int cmpslit(Node *l, Node *r); | 825 int cmpslit(Node *l, Node *r); |
825 int consttype(Node *n); | 826 int consttype(Node *n); |
826 void convconst(Node *con, Type *t, Val *val); | 827 void convconst(Node *con, Type *t, Val *val); |
827 void convlit(Node **np, Type *t); | 828 void convlit(Node **np, Type *t); |
828 void convlit1(Node **np, Type *t, int explicit); | 829 void convlit1(Node **np, Type *t, int explicit); |
829 void defaultlit(Node **np, Type *t); | 830 void defaultlit(Node **np, Type *t); |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 int isfat(Type*); | 1242 int isfat(Type*); |
1242 Plist* newplist(void); | 1243 Plist* newplist(void); |
1243 Node* nodarg(Type*, int); | 1244 Node* nodarg(Type*, int); |
1244 void nopout(Prog*); | 1245 void nopout(Prog*); |
1245 void patch(Prog*, Prog*); | 1246 void patch(Prog*, Prog*); |
1246 void zfile(Biobuf *b, char *p, int n); | 1247 void zfile(Biobuf *b, char *p, int n); |
1247 void zhist(Biobuf *b, int line, vlong offset); | 1248 void zhist(Biobuf *b, int line, vlong offset); |
1248 void zname(Biobuf *b, Sym *s, int t); | 1249 void zname(Biobuf *b, Sym *s, int t); |
1249 void data(void); | 1250 void data(void); |
1250 void text(void); | 1251 void text(void); |
LEFT | RIGHT |