aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_moth.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-10-29 10:29:27 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-29 10:38:20 +0100
commit570686d42176af193b15abfe4b7bc17d831f4cf6 (patch)
treebff40fb0e8d7c1492ff5b149ed285c15351bf658 /src/qml/compiler/qv4isel_moth.cpp
parent8d6500560eb5f7f72588d9d01e663a04af592e99 (diff)
Disable the stack slot allocator
The allocator doesn't work correctly and sometimes assigns temps with overlapping ranges to the same stack slot. This fixes crypto.js and qt quick controls autotests running with the interpreter. Change-Id: If3d0f90edfac669f89da5174cd58eb345d48f2b8 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_moth.cpp')
-rw-r--r--src/qml/compiler/qv4isel_moth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4isel_moth.cpp b/src/qml/compiler/qv4isel_moth.cpp
index c610ca6f02..d354bf66a5 100644
--- a/src/qml/compiler/qv4isel_moth.cpp
+++ b/src/qml/compiler/qv4isel_moth.cpp
@@ -249,7 +249,7 @@ void InstructionSelection::run(int functionIndex)
opt.run();
StackSlotAllocator *stackSlotAllocator = 0;
if (opt.isInSSA()) {
- stackSlotAllocator = new StackSlotAllocator(opt.lifeRanges(), _function->tempCount);
+ //stackSlotAllocator = new StackSlotAllocator(opt.lifeRanges(), _function->tempCount);
opt.convertOutOfSSA();
}