OSDN Git Service

QmlJS: Reactivate instantiating component scope detection.
authorChristian Kamm <christian.d.kamm@nokia.com>
Tue, 23 Nov 2010 11:57:48 +0000 (12:57 +0100)
committerChristian Kamm <christian.d.kamm@nokia.com>
Thu, 25 Nov 2010 14:06:44 +0000 (15:06 +0100)
commit93967104f3d7d2579be048d7137a404994981196
tree02556037a835dfeb37d802e95746470719afad1a
parent8f27c43877fa7d7bef7f2f7f7413544435f122fd
QmlJS: Reactivate instantiating component scope detection.

* Bind::usesQmlPrototype is now significantly more performant
* type environments are no longer hashed by filename, but rather
  by Document *
* duplicate scope builds are avoided

Task-number: QTCREATORBUG-2835
Reviewed-by: Erik Verbruggen
src/libs/qmljs/qmljsbind.cpp
src/libs/qmljs/qmljsdocument.cpp
src/libs/qmljs/qmljsdocument.h
src/libs/qmljs/qmljsinterpreter.cpp
src/libs/qmljs/qmljsinterpreter.h
src/libs/qmljs/qmljsscopebuilder.cpp