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 <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 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 Node* dclname(Sym *s); | 863 Node* dclname(Sym *s); |
864 void declare(Node *n, int ctxt); | 864 void declare(Node *n, int ctxt); |
865 Type* dostruct(NodeList *l, int et); | 865 Type* dostruct(NodeList *l, int et); |
866 void dumpdcl(char *st); | 866 void dumpdcl(char *st); |
867 Node* embedded(Sym *s); | 867 Node* embedded(Sym *s); |
868 Node* fakethis(void); | 868 Node* fakethis(void); |
869 void funcbody(Node *n); | 869 void funcbody(Node *n); |
870 void funccompile(Node *n, int isclosure); | 870 void funccompile(Node *n, int isclosure); |
871 void funchdr(Node *n); | 871 void funchdr(Node *n); |
872 Type* functype(Node *this, NodeList *in, NodeList *out); | 872 Type* functype(Node *this, NodeList *in, NodeList *out); |
| 873 void ifacedcl(Node *n); |
873 int isifacemethod(Type *f); | 874 int isifacemethod(Type *f); |
874 void markdcl(void); | 875 void markdcl(void); |
875 Node* methodname(Node *n, Type *t); | 876 Node* methodname(Node *n, Type *t); |
876 Node* methodname1(Node *n, Node *t); | 877 Node* methodname1(Node *n, Node *t); |
877 Sym* methodsym(Sym *nsym, Type *t0, int iface); | 878 Sym* methodsym(Sym *nsym, Type *t0, int iface); |
878 Node* newname(Sym *s); | 879 Node* newname(Sym *s); |
879 Type* newtype(Sym *s); | 880 Type* newtype(Sym *s); |
880 Node* oldname(Sym *s); | 881 Node* oldname(Sym *s); |
881 void popdcl(void); | 882 void popdcl(void); |
882 void poptodcl(void); | 883 void poptodcl(void); |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1240 int isfat(Type*); | 1241 int isfat(Type*); |
1241 Plist* newplist(void); | 1242 Plist* newplist(void); |
1242 Node* nodarg(Type*, int); | 1243 Node* nodarg(Type*, int); |
1243 void nopout(Prog*); | 1244 void nopout(Prog*); |
1244 void patch(Prog*, Prog*); | 1245 void patch(Prog*, Prog*); |
1245 void zfile(Biobuf *b, char *p, int n); | 1246 void zfile(Biobuf *b, char *p, int n); |
1246 void zhist(Biobuf *b, int line, vlong offset); | 1247 void zhist(Biobuf *b, int line, vlong offset); |
1247 void zname(Biobuf *b, Sym *s, int t); | 1248 void zname(Biobuf *b, Sym *s, int t); |
1248 void data(void); | 1249 void data(void); |
1249 void text(void); | 1250 void text(void); |
OLD | NEW |