diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-08-24 09:07:10 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-09-15 07:37:11 +0000 |
commit | cedd73279403244bbf4b74da4c3ec60111e60399 (patch) | |
tree | fc3a03ecdc4faefd9ed010ee4723d2a2333fd74c /src/qml/jsruntime/qv4engine_p.h | |
parent | 7dab89a65ef859ef1982d5b882cb74a0a34e53a9 (diff) |
Explicitly push/pop ExecutionContexts
Avoid the implicit push inside the execution context constructor
and rather make this explicit in the code.
Change-Id: I1bb0fb523fddbb273fc666370d619f55f49cd40a
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4engine_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h index 09cde6a957..968c9d5df0 100644 --- a/src/qml/jsruntime/qv4engine_p.h +++ b/src/qml/jsruntime/qv4engine_p.h @@ -474,7 +474,6 @@ Heap::ExecutionContext::ExecutionContext(ExecutionEngine *engine, ContextType t) , strictMode(false) , lineNumber(-1) { - engine->pushContext(this); } |