From a2142203ad6cdb54ec063e259b40171e13c5d4bd Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 23 Oct 2017 10:10:28 +0200 Subject: Finally get rid of the QV4::Function pointer in the context Change-Id: Iad6018f67faa956d385087865fca9d73419e363e Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4function_p.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/qml/jsruntime/qv4function_p.h') diff --git a/src/qml/jsruntime/qv4function_p.h b/src/qml/jsruntime/qv4function_p.h index 5ecbd0a359..03529407ab 100644 --- a/src/qml/jsruntime/qv4function_p.h +++ b/src/qml/jsruntime/qv4function_p.h @@ -97,14 +97,6 @@ struct Q_QML_EXPORT Function { } }; - -inline unsigned int Heap::CallContext::formalParameterCount() const -{ - Q_ASSERT(v4Function); - return v4Function->nFormals; -} - - } QT_END_NAMESPACE -- cgit v1.2.3