diff options
author | Lars Knoll <[email protected]> | 2013-10-29 10:29:27 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-10-29 10:38:20 +0100 |
commit | 570686d42176af193b15abfe4b7bc17d831f4cf6 (patch) | |
tree | bff40fb0e8d7c1492ff5b149ed285c15351bf658 /src | |
parent | 8d6500560eb5f7f72588d9d01e663a04af592e99 (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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/compiler/qv4isel_moth.cpp | 2 |
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(); } |