aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qqmlirbuilder_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-03-18 23:03:02 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-19 08:32:53 +0100
commitcf5fd11c8a2f1e859c72df75ea13c5c6e6295b6f (patch)
tree888127d7efca5ee1e3b7ba739cf68bb87297bc0f /src/qml/compiler/qqmlirbuilder_p.h
parent85184b15c0d34262719f5418b7382f98669cafe9 (diff)
Cleanup: Remove dead code
Change-Id: I073a8c61d666a08b5e88edcbf4cefa71d7f5b7c3 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder_p.h')
-rw-r--r--src/qml/compiler/qqmlirbuilder_p.h6
1 files changed, 0 insertions, 6 deletions
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 <typename _Tp> _Tp *New() { return pool->New<_Tp>(); }