summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompiler_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-12-14 03:42:55 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-12-14 03:42:55 (GMT)
commit8e466a30af34c5bb83e7fc591ddf569e2ec79d9f (patch)
tree8c509407be0474dea2993486afc03dccd84ec822 /src/declarative/qml/qmlcompiler_p.h
parentc71d7b264cb55bb444cea90e1efa82f0243f566d (diff)
downloadQt-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.h5
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;
};