From 97ad896b94dc160ed3bbf27196d706eb774e1365 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 31 Oct 2017 21:36:18 +0100 Subject: Convert runtime methods of Object to new calling convention Change-Id: Ic34164af0ad86347a791a56a438a71d458f198a4 Reviewed-by: Erik Verbruggen --- src/qml/jsruntime/qv4arrayobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4arrayobject.cpp') diff --git a/src/qml/jsruntime/qv4arrayobject.cpp b/src/qml/jsruntime/qv4arrayobject.cpp index 1613da5b75..d95829f808 100644 --- a/src/qml/jsruntime/qv4arrayobject.cpp +++ b/src/qml/jsruntime/qv4arrayobject.cpp @@ -137,7 +137,7 @@ ReturnedValue ArrayPrototype::method_toString(const BuiltinFunction *builtin, Ca callData->function = static_cast(callData->thisObject).get(static_cast(&callData->accumulator)); if (callData->function.isFunctionObject()) return static_cast(callData->function).call(&callData->thisObject, callData->args, callData->argc()); - return ObjectPrototype::method_toString(builtin, callData); + return ObjectPrototype::method_toString(builtin, &callData->thisObject, callData->args, callData->argc()); } ReturnedValue ArrayPrototype::method_toLocaleString(const BuiltinFunction *builtin, CallData *callData) -- cgit v1.2.3