diff options
author | Lars Knoll <[email protected]> | 2015-01-09 12:30:01 +0100 |
---|---|---|
committer | Simon Hausmann <[email protected]> | 2015-01-12 11:04:17 +0100 |
commit | 462496c2bbf9a35ce13762af8830cb2f87b0c27e (patch) | |
tree | 807d3169aeaae4088d7d60cd861ab587bcf3f6d8 /src/qml/jsruntime/qv4script.cpp | |
parent | 5e8008dcbff056eecdca779153804bf3cd5acf85 (diff) |
Get rid of the needsActivation flag in Heap::Base
Change-Id: Idcec374cb6d16aabf919c23d7236b76d9d047527
Reviewed-by: Robin Burchell <[email protected]>
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4script.cpp | 2 |
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); |