diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-06-22 10:01:17 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-06-30 11:58:44 +0000 |
commit | 29e41a9ee61a05274f77f89e9ffd8875f90d3308 (patch) | |
tree | 7de81ef4ad3bb0b2b0cd3313ee4dd03a76e9c681 /src/qml/compiler/qv4codegen_p.h | |
parent | 3a9f4d3ae701c7119016a0bf8b4e65ceb17864b0 (diff) |
Remove now unused files
Remove all files from the old compiler pipeline that are now
unused. This includes the whole IR, JIT code generation,
and the old Moth Isel.
Change-Id: I50d06abfbcf0e9755a54ed94638f8bb74f9512b1
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4codegen_p.h')
-rw-r--r-- | src/qml/compiler/qv4codegen_p.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/qml/compiler/qv4codegen_p.h b/src/qml/compiler/qv4codegen_p.h index c863159189..67a70c47d3 100644 --- a/src/qml/compiler/qv4codegen_p.h +++ b/src/qml/compiler/qv4codegen_p.h @@ -51,7 +51,6 @@ // #include "private/qv4global_p.h" -#include "qv4jsir_p.h" #include <private/qqmljsastvisitor_p.h> #include <private/qqmljsast_p.h> #include <private/qqmljsengine_p.h> @@ -59,6 +58,7 @@ #include <private/qv4compiler_p.h> #include <private/qqmlrefcount_p.h> #include <QtCore/QStringList> +#include <QtCore/QDateTime> #include <QStack> #ifndef V4_BOOTSTRAP #include <qqmlerror.h> @@ -507,7 +507,6 @@ protected: struct Result { Reference result; - QV4::IR::Expr *code; const BytecodeGenerator::Label *iftrue; const BytecodeGenerator::Label *iffalse; Format format; @@ -516,7 +515,6 @@ protected: Result(const Reference &lrvalue) : result(lrvalue) - , code(nullptr) , iftrue(nullptr) , iffalse(nullptr) , format(ex) @@ -525,8 +523,7 @@ protected: } explicit Result(Format requested = ex) - : code(0) - , iftrue(0) + : iftrue(0) , iffalse(0) , format(ex) , requested(requested) {} @@ -534,17 +531,13 @@ protected: explicit Result(const BytecodeGenerator::Label *iftrue, const BytecodeGenerator::Label *iffalse, bool trueBlockFollowsCondition) - : code(0) - , iftrue(iftrue) + : iftrue(iftrue) , iffalse(iffalse) , format(ex) , requested(cx) , trueBlockFollowsCondition(trueBlockFollowsCondition) {} - inline QV4::IR::Expr *operator*() const { Q_ASSERT(format == ex); return code; } - inline QV4::IR::Expr *operator->() const { Q_ASSERT(format == ex); return code; } - bool accept(Format f) { if (requested == f) { |