diff options
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4regexpobject_p.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/qml/jsruntime/qv4regexpobject_p.h b/src/qml/jsruntime/qv4regexpobject_p.h index a17802e2ff..765e98176c 100644 --- a/src/qml/jsruntime/qv4regexpobject_p.h +++ b/src/qml/jsruntime/qv4regexpobject_p.h @@ -103,13 +103,11 @@ protected: struct RegExpCtor: FunctionObject { + Q_MANAGED RegExpCtor(ExecutionContext *scope); - static Value construct(Managed *m, CallData *callData); - static Value call(Managed *that, CallData *callData); - -protected: - static const ManagedVTable static_vtbl; + static ReturnedValue construct(Managed *m, CallData *callData); + static ReturnedValue call(Managed *that, CallData *callData); }; struct RegExpPrototype: RegExpObject @@ -117,10 +115,10 @@ struct RegExpPrototype: RegExpObject RegExpPrototype(InternalClass *ic): RegExpObject(ic) {} void init(ExecutionContext *ctx, const Value &ctor); - static Value method_exec(SimpleCallContext *ctx); - static Value method_test(SimpleCallContext *ctx); - static Value method_toString(SimpleCallContext *ctx); - static Value method_compile(SimpleCallContext *ctx); + static ReturnedValue method_exec(SimpleCallContext *ctx); + static ReturnedValue method_test(SimpleCallContext *ctx); + static ReturnedValue method_toString(SimpleCallContext *ctx); + static ReturnedValue method_compile(SimpleCallContext *ctx); }; } |