From 510378d180cdaa85be47e7e3af6844d20e772037 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 6 May 2019 13:50:06 +0200 Subject: Remove QUrl-related special casing in the compiler QUrl is being added to the bootstrap set. Change-Id: Ia96bbcf6e0ef808435ecddfa114fdcd213361bbf Reviewed-by: Simon Hausmann --- src/qml/compiler/qv4codegen.cpp | 9 +-------- src/qml/compiler/qv4codegen_p.h | 2 -- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'src/qml/compiler') diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp index d17d58588c..b145ceb51e 100644 --- a/src/qml/compiler/qv4codegen.cpp +++ b/src/qml/compiler/qv4codegen.cpp @@ -53,10 +53,7 @@ #include #include #include - -#ifndef V4_BOOTSTRAP -# include -#endif +#include #include #include @@ -3947,8 +3944,6 @@ Codegen::VolatileMemoryLocations Codegen::scanVolatileMemoryLocations(AST::Node } -#ifndef V4_BOOTSTRAP - QList Codegen::qmlErrors() const { QList qmlErrors; @@ -3972,8 +3967,6 @@ QList Codegen::qmlErrors() const return qmlErrors; } -#endif // V4_BOOTSTRAP - bool Codegen::RValue::operator==(const RValue &other) const { switch (type) { diff --git a/src/qml/compiler/qv4codegen_p.h b/src/qml/compiler/qv4codegen_p.h index 8cf56b6cb7..e519da0142 100644 --- a/src/qml/compiler/qv4codegen_p.h +++ b/src/qml/compiler/qv4codegen_p.h @@ -662,9 +662,7 @@ protected: public: QList errors() const; -#ifndef V4_BOOTSTRAP QList qmlErrors() const; -#endif Reference binopHelper(QSOperator::Op oper, Reference &left, Reference &right); Reference jumpBinop(QSOperator::Op oper, Reference &left, Reference &right); -- cgit v1.2.3