diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-04-05 16:23:22 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-04-05 20:39:09 +0200 |
commit | 3b73dd08e0cb705dc57f6cce8b528c36aad40bcc (patch) | |
tree | 6a8feac3b99b719d91f95d2660ba5bdd6168c6a4 /src/v4/qv4regexpobject.cpp | |
parent | 8da2e2af2634fbba0920a6296ad470c491ae00f7 (diff) |
Move arguments out of ExecutionContext and into CallContext
Change-Id: Ic826e3e71eac9171fa113dec79db7c69982f2386
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/v4/qv4regexpobject.cpp')
-rw-r--r-- | src/v4/qv4regexpobject.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/v4/qv4regexpobject.cpp b/src/v4/qv4regexpobject.cpp index 19be8d9792..1800e0eb42 100644 --- a/src/v4/qv4regexpobject.cpp +++ b/src/v4/qv4regexpobject.cpp @@ -179,7 +179,7 @@ void RegExpPrototype::init(ExecutionContext *ctx, const Value &ctor) defineDefaultProperty(ctx, QStringLiteral("compile"), method_compile, 2); } -Value RegExpPrototype::method_exec(ExecutionContext *ctx) +Value RegExpPrototype::method_exec(CallContext *ctx) { RegExpObject *r = ctx->thisObject.asRegExpObject(); if (!r) @@ -222,13 +222,13 @@ Value RegExpPrototype::method_exec(ExecutionContext *ctx) return Value::fromObject(array); } -Value RegExpPrototype::method_test(ExecutionContext *ctx) +Value RegExpPrototype::method_test(CallContext *ctx) { Value r = method_exec(ctx); return Value::fromBoolean(!r.isNull()); } -Value RegExpPrototype::method_toString(ExecutionContext *ctx) +Value RegExpPrototype::method_toString(CallContext *ctx) { RegExpObject *r = ctx->thisObject.asRegExpObject(); if (!r) @@ -244,7 +244,7 @@ Value RegExpPrototype::method_toString(ExecutionContext *ctx) return Value::fromString(ctx, result); } -Value RegExpPrototype::method_compile(ExecutionContext *ctx) +Value RegExpPrototype::method_compile(CallContext *ctx) { RegExpObject *r = ctx->thisObject.asRegExpObject(); if (!r) |