aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2016-09-07 14:58:59 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2016-09-28 08:46:50 +0000
commit53ef0406b70e57c451e89c4bb9a6dcb4c438af86 (patch)
treed651ecd6e3db5090d5d1dfdd67a7af42523b8438 /src/qml/jsruntime/qv4context_p.h
parent765f3afccb34b16c249c609d788374320cfbd25d (diff)
QML: Make QV4::Heap::Pointer trivial
One more step needed to make QV4::Heap::structs trivial. Change-Id: I6bebfaff970518d65a09f2b9f50a6855c431d4c0 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r--src/qml/jsruntime/qv4context_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h
index 368605ca4a..713b2b6412 100644
--- a/src/qml/jsruntime/qv4context_p.h
+++ b/src/qml/jsruntime/qv4context_p.h
@@ -119,14 +119,15 @@ struct ExecutionContext : Base {
inline
ExecutionContext::ExecutionContext(ExecutionEngine *engine, ContextType t)
: engine(engine)
- , outer(nullptr)
, lookups(nullptr)
, constantTable(nullptr)
, compilationUnit(nullptr)
, type(t)
, strictMode(false)
, lineNumber(-1)
-{}
+{
+ outer = nullptr;
+}
struct CallContext : ExecutionContext {