From 427114d74023c817cd4b24890fab7b3e228a9f7c Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Mon, 11 Jun 2012 09:32:00 +0200 Subject: [PATCH] Increase the size of the code cache. This is just a temporary hack, we can't continue to use a contiguous region of memory to store the code. --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 06e9f2d903..4d277bc539 100644 --- a/main.cpp +++ b/main.cpp @@ -177,7 +177,7 @@ void evaluate(QQmlJS::VM::ExecutionEngine *vm, const QString &fileName, const QS IR::Module module; IR::Function *globalCode = 0; - const size_t codeSize = 30 * getpagesize(); + const size_t codeSize = 400 * getpagesize(); uchar *code = (uchar *) malloc(codeSize); assert(! (size_t(code) & 15));