This commit is contained in:
2025-11-26 03:07:22 +00:00
4 changed files with 142 additions and 4 deletions

View File

@@ -134,8 +134,7 @@ void run_call(ArgonObject *original_object, size_t argc, ArgonObject **argv,
0);
}
if (CStackFrame) {
ArgonObject ** registers = ar_alloc(object->value.argon_fn->translated.registerCount *
sizeof(ArgonObject *)); // fixed on the stack for speed purposes
ArgonObject * registers[MAX_REGISTERS]; // fixed on the stack for speed purposes
StackFrame new_stackFrame = {
{object->value.argon_fn->translated.registerCount,
object->value.argon_fn->translated.registerAssignment,