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/qv4script.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/qv4script.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4script.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp index 188b66d8d3..1b28882280 100644 --- a/src/qml/jsruntime/qv4script.cpp +++ b/src/qml/jsruntime/qv4script.cpp @@ -150,7 +150,6 @@ ReturnedValue Script::run() ExecutionContextSaver ctxSaver(valueScope.engine); ContextStateSaver stateSaver(valueScope, scope); - scope->d()->strictMode = vmFunction->isStrict(); scope->d()->v4Function = vmFunction; return Q_V4_PROFILE(engine, vmFunction, 0); |