From 2a57022ccbf9d5d622e4af4e684d8705b66c49c3 Mon Sep 17 00:00:00 2001 From: vylsaz Date: Tue, 4 Jun 2024 06:04:08 +0000 Subject: [PATCH] no ENT_SP_GC if profiler is not supported --- src/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm.c b/src/vm.c index 9ff1db01..51139e93 100644 --- a/src/vm.c +++ b/src/vm.c @@ -1663,7 +1663,7 @@ bool profiler_alloc() { bool profiler_start(i32 mode, i64 hz) { return false; } bool profiler_stop() { return false; } void profiler_free() { thrM("Profiler not supported"); } -usz profiler_getResults(B* compListRes, B* mapListRes, u64 specialResults[ENT_SP_END], bool keyPath) { thrM("Profiler not supported"); } +usz profiler_getResults(B* compListRes, B* mapListRes, u64 specialResults[], bool keyPath) { thrM("Profiler not supported"); } void profiler_displayResults() { thrM("Profiler not supported"); } #endif