From 68d74b67da1c14045e04ff13d7cd1bce8ea8d622 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 14 Feb 2015 23:22:23 +0100 Subject: Use Heap::Pointer in more places Change-Id: I2a64aadcd47ed05ad7d08a70a5d765d898a671fd Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4context_p.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/qml/jsruntime/qv4context_p.h') diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h index 2cff65b3d9..c35263ba7e 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -85,8 +85,8 @@ struct ExecutionContext : Base { CallData *callData; ExecutionEngine *engine; - ExecutionContext *parent; - ExecutionContext *outer; + Pointer parent; + Pointer outer; Lookup *lookups; CompiledData::CompilationUnit *compilationUnit; @@ -105,14 +105,14 @@ struct CallContext : ExecutionContext { } CallContext(ExecutionEngine *engine, QV4::Object *qml, QV4::FunctionObject *function); - FunctionObject *function; + Pointer function; Value *locals; - Object *activation; + Pointer activation; }; struct GlobalContext : ExecutionContext { GlobalContext(ExecutionEngine *engine); - Object *global; + Pointer global; }; struct CatchContext : ExecutionContext { @@ -123,7 +123,7 @@ struct CatchContext : ExecutionContext { struct WithContext : ExecutionContext { WithContext(ExecutionEngine *engine, QV4::Object *with); - Object *withObject; + Pointer withObject; }; -- cgit v1.2.3