diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-10-29 10:28:04 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-29 14:06:14 +0100 |
commit | 7e69f4160ffeacb4fda1243c6f490e54ed02c655 (patch) | |
tree | 00597159341c8df402fa9c3f3cb08010313f5d12 /src/qml/compiler/qv4isel_moth.cpp | |
parent | 61be39a01b4d3348161472260efef14f8a6e7896 (diff) |
Rework parameter handling for moth
Get rid of the parameter type, and only store a
scope, that is an index into a SafeValue ** array.
This significantly speeds up loading and saving of
parameters.
Change-Id: I185145f1afd0b8cea461c7ca732ada3ebe39c34c
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.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4isel_moth.cpp b/src/qml/compiler/qv4isel_moth.cpp index c2fae823f5..b44ed164d7 100644 --- a/src/qml/compiler/qv4isel_moth.cpp +++ b/src/qml/compiler/qv4isel_moth.cpp @@ -986,7 +986,6 @@ QByteArray InstructionSelection::squeezeCode() const } Param InstructionSelection::getParam(V4IR::Expr *e) { - typedef Param Param; assert(e); if (V4IR::Const *c = e->asConst()) { |