Temporarily disable shared V8 bindings
authorAaron Kennedy <aaron.kennedy@nokia.com>
Fri, 17 Jun 2011 07:43:45 +0000 (17:43 +1000)
committerAaron Kennedy <aaron.kennedy@nokia.com>
Fri, 17 Jun 2011 07:43:45 +0000 (17:43 +1000)
There is a bug with nested components sharing the outer components
shared binding list, which is obviously wrong.

src/declarative/qml/qdeclarativecompiler.cpp

index a0a6680..b653d10 100644 (file)
@@ -2973,7 +2973,7 @@ bool QDeclarativeCompiler::completeComponentBuild()
         bool isSharable = false;
         binding.rewrittenExpression = rewriteBinding(binding.expression.asAST(), expression, &isSharable);
 
-        if (isSharable && !binding.property->isAlias /* See above re alias */ &&
+        if (0 && isSharable && !binding.property->isAlias /* See above re alias */ &&
             binding.property->type != qMetaTypeId<QDeclarativeBinding*>()) {
             binding.dataType = BindingReference::V8;
             sharedBindings.append(&iter.value());