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:
parent
cfb709326f
commit
427114d740
2
main.cpp
2
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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue