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.
This commit is contained in:
Roberto Raggi 2012-06-11 09:32:00 +02:00
parent cfb709326f
commit 427114d740
1 changed files with 1 additions and 1 deletions

View File

@ -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));