From da2396478f04aa66d521e53ff24488e72c87d895 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 1 Nov 2014 23:29:21 +0100 Subject: Cleanup RegExp Move it's Data into the Heap namespace. Change-Id: I4ed6ea481376ae1d0c1fb08b56feee4764083231 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4context_p.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 310fa6c576..80ed904471 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -142,7 +142,7 @@ struct Q_QML_EXPORT ExecutionContext : public Managed IsExecutionContext = true }; - V4_MANAGED2(ExecutionContext, Managed) + V4_MANAGED(ExecutionContext, Managed) Q_MANAGED_TYPE(ExecutionContext) ExecutionContext(ExecutionEngine *engine, Heap::ExecutionContext::ContextType t) @@ -183,7 +183,7 @@ struct Q_QML_EXPORT ExecutionContext : public Managed struct CallContext : public ExecutionContext { - V4_MANAGED2(CallContext, ExecutionContext) + V4_MANAGED(CallContext, ExecutionContext) // formals are in reverse order String * const *formals() const; @@ -201,18 +201,18 @@ inline ReturnedValue CallContext::argument(int i) { struct GlobalContext : public ExecutionContext { - V4_MANAGED2(GlobalContext, ExecutionContext) + V4_MANAGED(GlobalContext, ExecutionContext) }; struct CatchContext : public ExecutionContext { - V4_MANAGED2(CatchContext, ExecutionContext) + V4_MANAGED(CatchContext, ExecutionContext) }; struct WithContext : public ExecutionContext { - V4_MANAGED2(WithContext, ExecutionContext) + V4_MANAGED(WithContext, ExecutionContext) }; inline CallContext *ExecutionContext::asCallContext() -- cgit v1.2.3