From 6a91dcba2e4fa85dc345c2d403c757ab7676e28c Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 9 Aug 2017 16:02:55 +0200 Subject: Always create a valid CallData object for interpreter calls This will allow removing a few more special cases and to simplify the code further. Change-Id: I3a958e9f68e3c103ea4f2ee6825f893e5931b11d Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4context_p.h | 2 -- 1 file changed, 2 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 399c06c47e..697007c75b 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -227,8 +227,6 @@ struct Q_QML_EXPORT ExecutionContext : public Managed ReturnedValue argument(int i) const { return d()->callData->argument(i); } - - static ReturnedValue call(Heap::ExecutionContext *context, CallData *callData, QV4::Function *function, const QV4::FunctionObject *f = 0); }; struct Q_QML_EXPORT CallContext : public ExecutionContext -- cgit v1.2.3