aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compileddata_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-06-13 18:14:50 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-06-13 18:18:52 +0200
commita16f4fe660de843c1a392b5bf1649c2df21e1522 (patch)
tree327e0c00267df0bc2354e4c38b2d9f5aec0395d2 /src/qml/compiler/qv4compileddata_p.h
parent707e07461c6d4448c90e1d16314d5adf778b67a4 (diff)
Move AST -> CompiledData location transformation to scan functions
That's the only place where we use it and this way we can remove the AST dependency from the compiled data. Change-Id: I530a0f18a08672acd7031a552885b819e6fe2b84 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r--src/qml/compiler/qv4compileddata_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h
index 63738d6002..cbc350a723 100644
--- a/src/qml/compiler/qv4compileddata_p.h
+++ b/src/qml/compiler/qv4compileddata_p.h
@@ -63,7 +63,6 @@
#include <private/qv4identifier_p.h>
#include <private/qflagpointer_p.h>
#include <private/qendian_p.h>
-#include <private/qqmljsastfwd_p.h>
QT_BEGIN_NAMESPACE
@@ -128,8 +127,6 @@ struct Location
Location() : _dummy(0) { }
- Location &operator=(const QQmlJS::AST::SourceLocation &astLocation);
-
inline bool operator<(const Location &other) const {
return line < other.line ||
(line == other.line && column < other.column);