From 6e3317bb171c718250bbb736567fc0e4812a6241 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 21 Oct 2017 15:55:45 +0200 Subject: Change signature for call/callAsConstructor Change-Id: I159b57acc7a2133ef1ad545aa84e792c63449a57 Reviewed-by: Lars Knoll --- src/qml/jsruntime/qv4regexpobject_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/jsruntime/qv4regexpobject_p.h') diff --git a/src/qml/jsruntime/qv4regexpobject_p.h b/src/qml/jsruntime/qv4regexpobject_p.h index 7db862c502..1f92516928 100644 --- a/src/qml/jsruntime/qv4regexpobject_p.h +++ b/src/qml/jsruntime/qv4regexpobject_p.h @@ -150,8 +150,8 @@ struct RegExpCtor: FunctionObject int lastMatchStart() { return d()->lastMatchStart; } int lastMatchEnd() { return d()->lastMatchEnd; } - static ReturnedValue callAsConstructor(const Managed *m, CallData *callData); - static ReturnedValue call(const Managed *that, CallData *callData); + static ReturnedValue callAsConstructor(const FunctionObject *f, const Value *argv, int argc); + static ReturnedValue call(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc); }; struct RegExpPrototype: RegExpObject -- cgit v1.2.3