aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4functionobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4functionobject.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4functionobject.cpp b/src/qml/jsruntime/qv4functionobject.cpp
index 081321e956..0cdf6b5d7c 100644
--- a/src/qml/jsruntime/qv4functionobject.cpp
+++ b/src/qml/jsruntime/qv4functionobject.cpp
@@ -144,7 +144,6 @@ void FunctionObject::init(String *n, bool createProto)
ScopedValue protectThis(s, this);
d()->needsActivation = true;
- d()->strictMode = false;
ensureMemberIndex(s.engine, Heap::FunctionObject::Index_Prototype);
if (createProto) {
@@ -452,7 +451,6 @@ Heap::SimpleScriptFunction::SimpleScriptFunction(QV4::ExecutionContext *scope, F
Q_ASSERT(function->code);
needsActivation = function->needsActivation();
- strictMode = function->isStrict();
// global function
if (!scope)