diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-09-18 10:32:32 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-10-07 09:50:28 +0000 |
commit | 28521e3585c0290ff1ef5cd21fa81d308ddf3f44 (patch) | |
tree | 6b3328af8c6da54f7e0a1a1f112aa343ccf19251 | |
parent | 5d7710a623ecde64316c42fd097db386ac28dd51 (diff) |
Trim some #includes
Change-Id: I5346fc36c89b7969c2bef3069f256f33bd4d9eb9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r-- | src/qml/compiler/qv4bytecodegenerator.cpp | 1 | ||||
-rw-r--r-- | src/qml/compiler/qv4codegen.cpp | 8 | ||||
-rw-r--r-- | src/qml/compiler/qv4codegen_p.h | 9 |
3 files changed, 4 insertions, 14 deletions
diff --git a/src/qml/compiler/qv4bytecodegenerator.cpp b/src/qml/compiler/qv4bytecodegenerator.cpp index 8ecb762f9c..d0bca69b56 100644 --- a/src/qml/compiler/qv4bytecodegenerator.cpp +++ b/src/qml/compiler/qv4bytecodegenerator.cpp @@ -40,7 +40,6 @@ #include <private/qv4bytecodegenerator_p.h> #include <private/qv4compilercontext_p.h> #include <private/qqmljsastfwd_p.h> -#include <private/qv4compileddata_p.h> QT_USE_NAMESPACE using namespace QV4; diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp index 4af3c99df8..a90dca4884 100644 --- a/src/qml/compiler/qv4codegen.cpp +++ b/src/qml/compiler/qv4codegen.cpp @@ -42,10 +42,6 @@ #include <QtCore/QCoreApplication> #include <QtCore/QStringList> -#include <QtCore/QSet> -#include <QtCore/QBuffer> -#include <QtCore/QBitArray> -#include <QtCore/QLinkedList> #include <QtCore/QStack> #include <QScopeGuard> #include <private/qqmljsast_p.h> @@ -56,6 +52,10 @@ #include <private/qv4bytecodegenerator_p.h> #include <private/qv4compilerscanfunctions_p.h> +#ifndef V4_BOOTSTRAP +# include <qqmlerror.h> +#endif + #include <cmath> #include <iostream> diff --git a/src/qml/compiler/qv4codegen_p.h b/src/qml/compiler/qv4codegen_p.h index aaf8baef34..afcc1b67ad 100644 --- a/src/qml/compiler/qv4codegen_p.h +++ b/src/qml/compiler/qv4codegen_p.h @@ -53,17 +53,8 @@ #include "private/qv4global_p.h" #include <private/qqmljsastvisitor_p.h> #include <private/qqmljsast_p.h> -#include <private/qqmljsengine_p.h> -#include <private/qv4instr_moth_p.h> #include <private/qv4compiler_p.h> #include <private/qv4compilercontext_p.h> -#include <private/qqmlrefcount_p.h> -#include <QtCore/QStringList> -#include <QtCore/QDateTime> -#include <QStack> -#ifndef V4_BOOTSTRAP -#include <qqmlerror.h> -#endif #include <private/qv4util_p.h> #include <private/qv4bytecodegenerator_p.h> #include <private/qv4stackframe_p.h> |