mirror of
https://github.com/janet-lang/janet
synced 2024-11-17 06:04:49 +00:00
Remove printf in regalloc.c
This should never be hit unless there is a bug in the compiler, but should be removed.
This commit is contained in:
parent
97d874f16b
commit
16127fc55c
@ -144,7 +144,6 @@ void janetc_regalloc_free(JanetcRegisterAllocator *ra, int32_t reg) {
|
|||||||
int32_t janetc_regalloc_temp(JanetcRegisterAllocator *ra, JanetcRegisterTemp nth) {
|
int32_t janetc_regalloc_temp(JanetcRegisterAllocator *ra, JanetcRegisterTemp nth) {
|
||||||
int32_t oldmax = ra->max;
|
int32_t oldmax = ra->max;
|
||||||
if (ra->regtemps & (1 << nth)) {
|
if (ra->regtemps & (1 << nth)) {
|
||||||
printf("regtemp %d attempted\n", nth);
|
|
||||||
janet_exit("regtemp already allocated");
|
janet_exit("regtemp already allocated");
|
||||||
}
|
}
|
||||||
ra->regtemps |= 1 << nth;
|
ra->regtemps |= 1 << nth;
|
||||||
|
Loading…
Reference in New Issue
Block a user