From 16127fc55cc6ade04e7c06a72ae60cfe3e66db9b Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 15 Sep 2019 18:17:09 -0500 Subject: [PATCH] Remove printf in regalloc.c This should never be hit unless there is a bug in the compiler, but should be removed. --- src/core/regalloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/regalloc.c b/src/core/regalloc.c index 83cfbc7b..13898386 100644 --- a/src/core/regalloc.c +++ b/src/core/regalloc.c @@ -144,7 +144,6 @@ void janetc_regalloc_free(JanetcRegisterAllocator *ra, int32_t reg) { int32_t janetc_regalloc_temp(JanetcRegisterAllocator *ra, JanetcRegisterTemp nth) { int32_t oldmax = ra->max; if (ra->regtemps & (1 << nth)) { - printf("regtemp %d attempted\n", nth); janet_exit("regtemp already allocated"); } ra->regtemps |= 1 << nth;