]> git.bts.cx Git - sun.git/blobdiff - runtime/src/sun/compiler/vm_generator.c
increase instruction count
[sun.git] / 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;