From aac611fdb8aacc494956a080bf38cb9b7eb4c2e8 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 30 Mar 2016 14:53:03 +0200 Subject: QML: allow more methods to get inlined. Most of these methods are small, and all of them lie in the 'hot path' for simple bindings like 'width: parent.width'. Change-Id: I0071cec92b49437a352160b0283ed6c89a278a07 Reviewed-by: Lars Knoll --- src/qml/qml/qqmlengine.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/qml/qml/qqmlengine.cpp') diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp index 1348151b0d..0978af78a9 100644 --- a/src/qml/qml/qqmlengine.cpp +++ b/src/qml/qml/qqmlengine.cpp @@ -1600,15 +1600,6 @@ void QQmlData::addNotify(int index, QQmlNotifierEndpoint *endpoint) } } -/* - index MUST in the range returned by QObjectPrivate::signalIndex() - This is different than the index returned by QMetaMethod::methodIndex() -*/ -bool QQmlData::signalHasEndpoint(int index) -{ - return notifyList && (notifyList->connectionMask & (1ULL << quint64(index % 64))); -} - void QQmlData::disconnectNotifiers() { if (notifyList) { @@ -1903,16 +1894,6 @@ void QQmlEnginePrivate::warning(QQmlEnginePrivate *engine, const QList