diff --git a/src/main.c b/src/main.c index f31bec12..7bff3ba3 100644 --- a/src/main.c +++ b/src/main.c @@ -108,13 +108,12 @@ static bool isCmd(char* s, char** e, const char* cmd) { ")escaped ", ")profile ", ")profile@", ")t ", ")t:", ")time ", ")time:", - ")mem ", ")mem t", ")mem s", ")mem f", + ")mem", ")mem t", ")mem s", ")mem f", ")erase ", ")clearImportCache", ")kb", ")theme dark", ")theme light", ")theme none", - ")exit", - ")off", + ")exit", ")off", ")vars", ")gc", ")gc off", ")gc on", ")internalPrint ", diff --git a/src/opt/mm_buddyTemplate.c b/src/opt/mm_buddyTemplate.c index 5ae0e9a2..7f0a2d3d 100644 --- a/src/opt/mm_buddyTemplate.c +++ b/src/opt/mm_buddyTemplate.c @@ -52,16 +52,15 @@ static NOINLINE void* BN(allocateMore)(i64 bucket, u8 type, i64 from, i64 to) { #if GC_VISIT_V2 if (!BN(allocMore_rec)) { gc_forceGC(); - alloc_rec:; BN(allocMore_rec) = true; + alloc_rec:; void* r = BN(allocL)(bucket, type); BN(allocMore_rec) = false; return r; } BN(allocMore_rec) = false; - #else - thrOOM(); #endif + thrOOM(); } #if NO_MMAP