summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiler_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-29 07:13:37 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-29 07:14:16 (GMT)
commitca3f5521e1d3ada541739d6013d8c6fb795244a9 (patch)
tree9a59d006910eb3be768f0d4158d3b9c7f7e8a587 /src/declarative/qml/qdeclarativecompiler_p.h
parentc253bd186f95573650cc1c25983cdab24a5c35c2 (diff)
downloadQt-ca3f5521e1d3ada541739d6013d8c6fb795244a9.zip
Qt-ca3f5521e1d3ada541739d6013d8c6fb795244a9.tar.gz
Qt-ca3f5521e1d3ada541739d6013d8c6fb795244a9.tar.bz2
Improve QML compiler statistics
Diffstat (limited to 'src/declarative/qml/qdeclarativecompiler_p.h')
-rw-r--r--src/declarative/qml/qdeclarativecompiler_p.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/declarative/qml/qdeclarativecompiler_p.h b/src/declarative/qml/qdeclarativecompiler_p.h
index a81259b..e5836d1 100644
--- a/src/declarative/qml/qdeclarativecompiler_p.h
+++ b/src/declarative/qml/qdeclarativecompiler_p.h
@@ -318,14 +318,13 @@ private:
struct ComponentStat
{
- ComponentStat()
- : ids(0), scriptBindings(0), optimizedBindings(0), objects(0) {}
+ ComponentStat() : ids(0), objects(0) {}
int lineNumber;
int ids;
- int scriptBindings;
- int optimizedBindings;
+ QList<QDeclarativeParser::LocationSpan> scriptBindings;
+ QList<QDeclarativeParser::LocationSpan> optimizedBindings;
int objects;
};
ComponentStat componentStat;