diff options
author | Erik Verbruggen <erik.verbruggen@me.com> | 2013-11-11 13:21:07 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-12 14:40:22 +0100 |
commit | 24b9d7d1c215bf141bcff75e542ef0b00cd5dd3b (patch) | |
tree | 521c1c84aa2459aab0ad41029bfd02ac588b946c /src/qml/compiler/qv4isel_moth_p.h | |
parent | 2dc69a99f0a4d122feb1cdc4debca60a209e84f4 (diff) |
V4 interpreter: remove stack-slot allocator.
The life-ranges are only valid when the IR is in SSA form. So the use
of them in the interpreter after converting out of SSA form introduced
bugs. Instead, allocate a stack-slot for each unique temporary, and
re-use the code for this from the JIT.
Change-Id: I294f1116064f0b85996cf96a0b408b41a3c785e2
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_moth_p.h')
-rw-r--r-- | src/qml/compiler/qv4isel_moth_p.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/compiler/qv4isel_moth_p.h b/src/qml/compiler/qv4isel_moth_p.h index 0bf7444329..3a2fdb0c34 100644 --- a/src/qml/compiler/qv4isel_moth_p.h +++ b/src/qml/compiler/qv4isel_moth_p.h @@ -54,8 +54,6 @@ QT_BEGIN_NAMESPACE namespace QQmlJS { namespace Moth { -class StackSlotAllocator; - struct CompilationUnit : public QV4::CompiledData::CompilationUnit { virtual ~CompilationUnit(); @@ -65,7 +63,6 @@ struct CompilationUnit : public QV4::CompiledData::CompilationUnit }; - class Q_QML_EXPORT InstructionSelection: public V4IR::IRDecoder, public EvalInstructionSelection @@ -182,7 +179,6 @@ private: uchar *_codeNext; uchar *_codeEnd; - StackSlotAllocator *_stackSlotAllocator; QSet<V4IR::Jump *> _removableJumps; V4IR::Stmt *_currentStatement; |