diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-05-24 11:21:10 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-24 12:41:25 +0200 |
commit | 1eb41200948ab414f1c47d93123b41c547a993df (patch) | |
tree | 6a14bff7c95bb346825e60b6721b5829690eb0da /src/qml/qml/qqmlcompiler_p.h | |
parent | 1d62cefbaa23ef96fa4dc36d950cc2d9a2d4b5c3 (diff) |
Remove QV8Bindings class
This class tries to optimise binding compilation with v8. With the
approach in v4 where we don't rewrite binding expressions anymore,
this is not required anymore.
Change-Id: I616aeeba85bc17a950d4c7341b3042ed8aa42bff
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcompiler_p.h')
-rw-r--r-- | src/qml/qml/qqmlcompiler_p.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/qml/qml/qqmlcompiler_p.h b/src/qml/qml/qqmlcompiler_p.h index b25850a9f3..1b2796248e 100644 --- a/src/qml/qml/qqmlcompiler_p.h +++ b/src/qml/qml/qqmlcompiler_p.h @@ -187,7 +187,7 @@ namespace QQmlCompilerTypes { struct BindingReference { - enum DataType { QtScript, V8, + enum DataType { QtScript, Tr, TrId }; DataType dataType; }; @@ -255,7 +255,7 @@ namespace QQmlCompilerTypes { { ComponentCompileState() : parserStatusCount(0), totalBindingsCount(0), pushedProperties(0), nested(false), - v8BindingProgramLine(-1), root(0) {} + root(0) {} IdList ids; int parserStatusCount; @@ -264,8 +264,6 @@ namespace QQmlCompilerTypes { bool nested; QByteArray compiledBindingData; - QByteArray v8BindingProgram; - int v8BindingProgramLine; DepthStack objectDepth; DepthStack listDepth; @@ -446,8 +444,6 @@ private: int ids; QList<QQmlScript::LocationSpan> scriptBindings; - QList<QQmlScript::LocationSpan> sharedBindings; - QList<QQmlScript::LocationSpan> optimizedBindings; int objects; }; struct ComponentStats : public QQmlPool::Class |