From: Ben Sherratt Date: Tue, 30 Jan 2024 18:10:03 +0000 (+0000) Subject: increase instruction count X-Git-Url: https://git.bts.cx/sun.git/commitdiff_plain/e47a6583d105110c3f3aaee5f860ce51555997e2?ds=sidebyside increase instruction count --- diff --git a/runtime/src/sun/compiler/vm_generator.c b/runtime/src/sun/compiler/vm_generator.c index deb10b8..1e9cff3 100644 --- a/runtime/src/sun/compiler/vm_generator.c +++ b/runtime/src/sun/compiler/vm_generator.c @@ -114,7 +114,7 @@ static VMGeneratorOutputScope *generatorCreate() { VMGeneratorOutputScope *scope = malloc(sizeof(VMGeneratorOutputScope)); // fixme these mallocs memset(scope, 0, sizeof(VMGeneratorOutputScope)); - scope->instructionCount = 1024; + scope->instructionCount = 2048; scope->instructions = malloc(scope->instructionCount * sizeof(struct VMGeneratorInstruction)); scope->nextInstructionIdx = 0;