aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4script.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-01-09 12:30:01 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2015-01-12 11:04:17 +0100
commit462496c2bbf9a35ce13762af8830cb2f87b0c27e (patch)
tree807d3169aeaae4088d7d60cd861ab587bcf3f6d8 /src/qml/jsruntime/qv4script.cpp
parent5e8008dcbff056eecdca779153804bf3cd5acf85 (diff)
Get rid of the needsActivation flag in Heap::Base
Change-Id: Idcec374cb6d16aabf919c23d7236b76d9d047527 Reviewed-by: Robin Burchell <robin.burchell@viroteck.net> Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
-rw-r--r--src/qml/jsruntime/qv4script.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp
index 4337fc1101..6882061f6b 100644
--- a/src/qml/jsruntime/qv4script.cpp
+++ b/src/qml/jsruntime/qv4script.cpp
@@ -97,7 +97,6 @@ Heap::QmlBindingWrapper::QmlBindingWrapper(QV4::ExecutionContext *scope, Functio
function = f;
if (function)
function->compilationUnit->addref();
- needsActivation = function ? function->needsActivation() : false;
Scope s(scope);
Scoped<QV4::QmlBindingWrapper> o(s, this);
@@ -116,7 +115,6 @@ Heap::QmlBindingWrapper::QmlBindingWrapper(QV4::ExecutionContext *scope, QV4::Ob
Q_ASSERT(scope->inUse());
setVTable(QV4::QmlBindingWrapper::staticVTable());
- needsActivation = false;
Scope s(scope);
Scoped<QV4::QmlBindingWrapper> o(s, this);