28 int argc = inst.operand;
29 if (argc < 0) argc = 0;
35 for (
int i = argc - 1; i >= 0; --i) {
42 fprintf(stderr,
"Runtime type error: CALL expects function\n");
vm_push_frame(vm, fnv.fn, argc, args)
Tagged union representing a Fun value.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.