From bac9b54dfb38767a34410fa55f8f46e64b458efb Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 30 Jun 2017 15:34:12 +0200 Subject: Split up qv4codegen into several files And changed the namespace of those classes to QV4::Compiler. ScanFunctions should over time also move into its own file. Change-Id: If084acea4a9a20b9c79ad47dac19e02dc720e098 Reviewed-by: Simon Hausmann --- tools/qmljs/qmljs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/qmljs/qmljs.cpp') diff --git a/tools/qmljs/qmljs.cpp b/tools/qmljs/qmljs.cpp index e73dcd4dc6..2250a501e7 100644 --- a/tools/qmljs/qmljs.cpp +++ b/tools/qmljs/qmljs.cpp @@ -108,7 +108,7 @@ int main(int argc, char *argv[]) if (file.open(QFile::ReadOnly)) { QScopedPointer script; if (cache && QFile::exists(fn + QLatin1Char('c'))) { - QQmlRefPointer unit = QQmlJS::Codegen::createUnitForLoading(); + QQmlRefPointer unit = QV4::Compiler::Codegen::createUnitForLoading(); QString error; if (unit->loadFromDisk(QUrl::fromLocalFile(fn), QFileInfo(fn).lastModified(), &error)) { script.reset(new QV4::Script(&vm, nullptr, unit)); -- cgit v1.2.3