diff options
Diffstat (limited to 'src/qmlcompiler')
| -rw-r--r-- | src/qmlcompiler/qqmljscompiler.cpp | 8 | ||||
| -rw-r--r-- | src/qmlcompiler/qqmljscompiler_p.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/qmlcompiler/qqmljscompiler.cpp b/src/qmlcompiler/qqmljscompiler.cpp index 6f7be49dcd..c04ba26aa1 100644 --- a/src/qmlcompiler/qqmljscompiler.cpp +++ b/src/qmlcompiler/qqmljscompiler.cpp @@ -171,18 +171,18 @@ private: bool qCompileQmlFile(const QString &inputFileName, QQmlJSSaveFunction saveFunction, QQmlJSAotCompiler *aotCompiler, QQmlJSCompileError *error, - bool storeSourceLocation, QV4::Compiler::CodegenWarningInterface *interface, + bool storeSourceLocation, QV4::Compiler::CodegenWarningInterface *wInterface, const QString *fileContents) { QmlIR::Document irDocument(QString(), QString(), /*debugMode*/false); return qCompileQmlFile(irDocument, inputFileName, saveFunction, aotCompiler, error, - storeSourceLocation, interface, fileContents); + storeSourceLocation, wInterface, fileContents); } bool qCompileQmlFile(QmlIR::Document &irDocument, const QString &inputFileName, QQmlJSSaveFunction saveFunction, QQmlJSAotCompiler *aotCompiler, QQmlJSCompileError *error, bool storeSourceLocation, - QV4::Compiler::CodegenWarningInterface *interface, const QString *fileContents) + QV4::Compiler::CodegenWarningInterface *wInterface, const QString *fileContents) { QString sourceCode; @@ -213,7 +213,7 @@ bool qCompileQmlFile(QmlIR::Document &irDocument, const QString &inputFileName, QQmlJSAotFunctionMap aotFunctionsByIndex; { - QmlIR::JSCodeGen v4CodeGen(&irDocument, interface, storeSourceLocation); + QmlIR::JSCodeGen v4CodeGen(&irDocument, wInterface, storeSourceLocation); if (aotCompiler) aotCompiler->setDocument(&v4CodeGen, &irDocument); diff --git a/src/qmlcompiler/qqmljscompiler_p.h b/src/qmlcompiler/qqmljscompiler_p.h index e4e3a0511a..51ad2fd4f5 100644 --- a/src/qmlcompiler/qqmljscompiler_p.h +++ b/src/qmlcompiler/qqmljscompiler_p.h @@ -119,15 +119,15 @@ bool Q_QMLCOMPILER_EXPORT qCompileQmlFile(const QString &inputFileName, QQmlJSSaveFunction saveFunction, QQmlJSAotCompiler *aotCompiler, QQmlJSCompileError *error, bool storeSourceLocation = false, - QV4::Compiler::CodegenWarningInterface *interface = + QV4::Compiler::CodegenWarningInterface *wInterface = QV4::Compiler::defaultCodegenWarningInterface(), const QString *fileContents = nullptr); bool Q_QMLCOMPILER_EXPORT qCompileQmlFile(QmlIR::Document &irDocument, const QString &inputFileName, QQmlJSSaveFunction saveFunction, QQmlJSAotCompiler *aotCompiler, QQmlJSCompileError *error, bool storeSourceLocation = false, - QV4::Compiler::CodegenWarningInterface *interface = - QV4::Compiler::defaultCodegenWarningInterface(), + QV4::Compiler::CodegenWarningInterface *wInterface = + QV4::Compiler::defaultCodegenWarningInterface(), const QString *fileContents = nullptr); bool Q_QMLCOMPILER_EXPORT qCompileJSFile(const QString &inputFileName, const QString &inputFileUrl, QQmlJSSaveFunction saveFunction, |
