aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-12-17 22:48:24 +0100
committerLars Knoll <lars.knoll@digia.com>2012-12-17 22:56:27 +0100
commit2522d2d3ff8a8dbd2e45bad1d8dc7cb1f45dd10b (patch)
tree379c38dfe736b6183f7aa1c2e9fa8b537fd392c7 /main.cpp
parentb43e1edf9bf0e129a588885f0bc52a73ebe2a5ce (diff)
For the JIT enable the memory manager that traverses the native stack for references to managed objects
Change-Id: Ie4a26ddc75abd1382af29b966915437ad485a041 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 7a79a7cd77..28f06022e1 100644
--- a/main.cpp
+++ b/main.cpp
@@ -339,7 +339,7 @@ int main(int argc, char *argv[])
mm.reset(new QQmlJS::Moth::MemoryManager);
iSelFactory.reset(new QQmlJS::Moth::ISelFactory);
} else {
- mm.reset(new QQmlJS::VM::MemoryManagerWithoutGC);
+ mm.reset(new QQmlJS::VM::MemoryManagerWithNativeStack);
iSelFactory.reset(new QQmlJS::MASM::ISelFactory);
}