diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-08-07 14:43:03 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-08-10 08:18:50 +0000 |
commit | eb2c08f57493aa12850e6cddff2cc3527e7cbfd7 (patch) | |
tree | be917321e6025a8ca8983881a1f07d1a0fd7680c /src/qml/jsruntime/qv4qmlcontext.cpp | |
parent | e9a8252305fa5e3b3cd4a18261990820975a79da (diff) |
Get rid of ExecutionContext::strictMode
This should be done by generating different byte code for
the strict/non strict cases. For now the VME has a workaround
checking the isStrict() flag of QV4::Function.
Change-Id: I2faa9e9184ffc5274491067e67f665d6989b54c2
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4qmlcontext.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4qmlcontext.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4qmlcontext.cpp b/src/qml/jsruntime/qv4qmlcontext.cpp index 8c6d6f11fa..88bea8156f 100644 --- a/src/qml/jsruntime/qv4qmlcontext.cpp +++ b/src/qml/jsruntime/qv4qmlcontext.cpp @@ -299,7 +299,6 @@ void Heap::QmlContext::init(QV4::ExecutionContext *outerContext, QV4::QQmlContex { Heap::ExecutionContext::init(Heap::ExecutionContext::Type_QmlContext); outer.set(internalClass->engine, outerContext->d()); - strictMode = false; callData = outer->callData; v4Function = outer->v4Function; |