aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljscompiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlcompiler/qqmljscompiler.cpp')
-rw-r--r--src/qmlcompiler/qqmljscompiler.cpp8
1 files changed, 4 insertions, 4 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);