null.c (1909B)
1 #include "c.h" 2 #define I(f) null_##f 3 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) {} 29 30 31 Interface nullIR = { 32 1, 1, 0, /* char */ 33 2, 2, 0, /* short */ 34 4, 4, 0, /* int */ 35 8, 8, 1, /* long */ 36 8 ,8, 1, /* long long */ 37 4, 4, 1, /* float */ 38 8, 8, 1, /* double */ 39 16,16,1, /* long double */ 40 4, 4, 0, /* T* */ 41 0, 4, 0, /* struct */ 42 1, /* little_endian */ 43 0, /* mulops_calls */ 44 0, /* wants_callb */ 45 0, /* wants_argb */ 46 1, /* left_to_right */ 47 0, /* wants_dag */ 48 0, /* unsigned_char */ 49 I(address), 50 I(blockbeg), 51 I(blockend), 52 I(defaddress), 53 I(defconst), 54 I(defstring), 55 I(defsymbol), 56 I(emit), 57 I(export), 58 I(function), 59 I(gen), 60 I(global), 61 I(import), 62 I(local), 63 I(progbeg), 64 I(progend), 65 I(segment), 66 I(space), 67 I(stabblock), 68 I(stabend), 69 I(stabfend), 70 I(stabinit), 71 I(stabline), 72 I(stabsym), 73 I(stabtype) 74 };