]> git.bts.cx Git - sun.git/commitdiff
increase instruction count
authorBen Sherratt <redacted>
Tue, 30 Jan 2024 18:10:03 +0000 (18:10 +0000)
committerBen Sherratt <redacted>
Tue, 30 Jan 2024 18:10:03 +0000 (18:10 +0000)
runtime/src/sun/compiler/vm_generator.c

index deb10b8065a4e625ccaa1865eedb2b27dda738eb..1e9cff3b154e540cb93e9626a02c697113ab7baa 100644 (file)
@@ -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;