From cf5fd11c8a2f1e859c72df75ea13c5c6e6295b6f Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 18 Mar 2014 23:03:02 +0100 Subject: Cleanup: Remove dead code Change-Id: I073a8c61d666a08b5e88edcbf4cefa71d7f5b7c3 Reviewed-by: Lars Knoll --- src/qml/compiler/qqmlirbuilder_p.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/qml/compiler/qqmlirbuilder_p.h') diff --git a/src/qml/compiler/qqmlirbuilder_p.h b/src/qml/compiler/qqmlirbuilder_p.h index 2f398eb008..c2e1ee496e 100644 --- a/src/qml/compiler/qqmlirbuilder_p.h +++ b/src/qml/compiler/qqmlirbuilder_p.h @@ -368,10 +368,6 @@ public: { return QStringRef(&sourceCode, loc.offset, loc.length); } QStringRef textRefAt(const QQmlJS::AST::SourceLocation &first, const QQmlJS::AST::SourceLocation &last) const; - static QQmlScript::LocationSpan location(QQmlJS::AST::UiQualifiedId *id) - { - return location(id->identifierToken, id->identifierToken); - } void setBindingValue(QV4::CompiledData::Binding *binding, QQmlJS::AST::Statement *statement); @@ -392,8 +388,6 @@ public: void collectTypeReferences(); - static QQmlScript::LocationSpan location(QQmlJS::AST::SourceLocation start, QQmlJS::AST::SourceLocation end); - quint32 registerString(const QString &str) const { return jsGenerator->registerString(str); } template _Tp *New() { return pool->New<_Tp>(); } -- cgit v1.2.3