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;
} __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 ListAppend;
NativeFn ListContains;
@ -349,7 +332,7 @@ static int doSecondPass(FILE * out) {
fprintf(stderr,
"Invalid value found in constants table,"
"this marashal format can not store '%s'\n",
ValueTypes[val->type]);
krk_typeName(*val));
return 1;
}
}