projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfb7093
)
Increase the size of the code cache.
author
Roberto Raggi
<roberto.raggi@nokia.com>
Mon, 11 Jun 2012 07:32:00 +0000
(09:32 +0200)
committer
Roberto Raggi
<roberto.raggi@nokia.com>
Mon, 11 Jun 2012 07:32:00 +0000
(09:32 +0200)
This is just a temporary hack, we can't continue to use
a contiguous region of memory to store the code.
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/main.cpp
index 06e9f2d903863f3a09912eafafdbaa3bb96d79ff..4d277bc53923712339c11e7d40ea509f2ca5b74b 100644
(file)
--- 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 =
3
0 * getpagesize();
+ const size_t codeSize =
40
0 * getpagesize();
uchar *code = (uchar *) malloc(codeSize);
assert(! (size_t(code) & 15));