diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-29 07:13:37 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-29 07:14:16 (GMT) |
commit | ca3f5521e1d3ada541739d6013d8c6fb795244a9 (patch) | |
tree | 9a59d006910eb3be768f0d4158d3b9c7f7e8a587 /src/declarative/qml/qdeclarativecompiler_p.h | |
parent | c253bd186f95573650cc1c25983cdab24a5c35c2 (diff) | |
download | Qt-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.h | 7 |
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; |