cleanup unused / redundant defs

This commit is contained in:
K. Lange 2021-02-12 16:01:29 +09:00
parent 7d18c9fb1a
commit 798df9cc08

View File

@ -46,23 +46,6 @@ struct LineMapEntry {
uint16_t line; uint16_t line;
} __attribute__((packed)); } __attribute__((packed));
struct BigConstantEntry {
union {
int64_t asInt;
double asFloat;
} data;
} __attribute__((packed));
const char * ValueTypes[] = {
"None",
"bool",
"int",
"float",
"exc",
"obj",
"kwargs",
};
NativeFn ListPop; NativeFn ListPop;
NativeFn ListAppend; NativeFn ListAppend;
NativeFn ListContains; NativeFn ListContains;
@ -349,7 +332,7 @@ static int doSecondPass(FILE * out) {
fprintf(stderr, fprintf(stderr,
"Invalid value found in constants table," "Invalid value found in constants table,"
"this marashal format can not store '%s'\n", "this marashal format can not store '%s'\n",
ValueTypes[val->type]); krk_typeName(*val));
return 1; return 1;
} }
} }