diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-12-14 03:42:55 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-12-14 03:42:55 (GMT) |
commit | 8e466a30af34c5bb83e7fc591ddf569e2ec79d9f (patch) | |
tree | 8c509407be0474dea2993486afc03dccd84ec822 /src/declarative/qml/qmlcompiler_p.h | |
parent | c71d7b264cb55bb444cea90e1efa82f0243f566d (diff) | |
download | Qt-8e466a30af34c5bb83e7fc591ddf569e2ec79d9f.zip Qt-8e466a30af34c5bb83e7fc591ddf569e2ec79d9f.tar.gz Qt-8e466a30af34c5bb83e7fc591ddf569e2ec79d9f.tar.bz2 |
Introduce experimental binding optimizer
Enable with QML_EXPERIMENTAL=1
Diffstat (limited to 'src/declarative/qml/qmlcompiler_p.h')
-rw-r--r-- | src/declarative/qml/qmlcompiler_p.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcompiler_p.h b/src/declarative/qml/qmlcompiler_p.h index 809cc72..d734a12 100644 --- a/src/declarative/qml/qmlcompiler_p.h +++ b/src/declarative/qml/qmlcompiler_p.h @@ -269,7 +269,10 @@ private: QmlParser::Variant expression; QmlParser::Property *property; QmlParser::Value *value; - bool isBasicScript; + + enum DataType { QtScript, BasicScript, Experimental }; + DataType dataType; + QByteArray compiledData; BindingContext bindingContext; }; |