* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / lcc-4.2 / src / null.c
blob2519d053a95157d1b6ecf55e484e5eda30dc0dc6
1 #include "c.h"
2 #define I(f) null_##f
4 static Node I(gen)(Node p) { return p; }
5 static void I(address)(Symbol q, Symbol p, long n) {}
6 static void I(blockbeg)(Env *e) {}
7 static void I(blockend)(Env *e) {}
8 static void I(defaddress)(Symbol p) {}
9 static void I(defconst)(int suffix, int size, Value v) {}
10 static void I(defstring)(int len, char *s) {}
11 static void I(defsymbol)(Symbol p) {}
12 static void I(emit)(Node p) {}
13 static void I(export)(Symbol p) {}
14 static void I(function)(Symbol f, Symbol caller[], Symbol callee[], int ncalls) {}
15 static void I(global)(Symbol p) {}
16 static void I(import)(Symbol p) {}
17 static void I(local)(Symbol p) {}
18 static void I(progbeg)(int argc, char *argv[]) {}
19 static void I(progend)(void) {}
20 static void I(segment)(int s) {}
21 static void I(space)(int n) {}
22 static void I(stabblock)(int brace, int lev, Symbol *p) {}
23 static void I(stabend)(Coordinate *cp, Symbol p, Coordinate **cpp, Symbol *sp, Symbol *stab) {}
24 static void I(stabfend)(Symbol p, int lineno) {}
25 static void I(stabinit)(char *file, int argc, char *argv[]) {}
26 static void I(stabline)(Coordinate *cp) {}
27 static void I(stabsym)(Symbol p) {}
28 static void I(stabtype)(Symbol p) {}
30 static char rcsid[] = "$Id$";
32 Interface nullIR = {
33 1, 1, 0, /* char */
34 2, 2, 0, /* short */
35 4, 4, 0, /* int */
36 8, 8, 1, /* long */
37 8 ,8, 1, /* long long */
38 4, 4, 1, /* float */
39 8, 8, 1, /* double */
40 16,16,1, /* long double */
41 4, 4, 0, /* T* */
42 0, 4, 0, /* struct */
43 1, /* little_endian */
44 0, /* mulops_calls */
45 0, /* wants_callb */
46 0, /* wants_argb */
47 1, /* left_to_right */
48 0, /* wants_dag */
49 0, /* unsigned_char */
50 I(address),
51 I(blockbeg),
52 I(blockend),
53 I(defaddress),
54 I(defconst),
55 I(defstring),
56 I(defsymbol),
57 I(emit),
58 I(export),
59 I(function),
60 I(gen),
61 I(global),
62 I(import),
63 I(local),
64 I(progbeg),
65 I(progend),
66 I(segment),
67 I(space),
68 I(stabblock),
69 I(stabend),
70 I(stabfend),
71 I(stabinit),
72 I(stabline),
73 I(stabsym),
74 I(stabtype)