diff options
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
-rw-r--r-- | src/qml/compiler/qv4codegen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp index 5b7a7f9050..7e4d98653b 100644 --- a/src/qml/compiler/qv4codegen.cpp +++ b/src/qml/compiler/qv4codegen.cpp @@ -484,7 +484,7 @@ void Codegen::ScanFunctions::enterFunction(Node *ast, const QString &name, Forma } -Codegen::Codegen(bool strict) +Codegen::Codegen(QV4::Compiler::JSUnitGenerator *jsUnitGenerator, bool strict) : _module(0) , _function(0) , _block(0) @@ -494,6 +494,7 @@ Codegen::Codegen(bool strict) , _loop(0) , _labelledStatement(0) , _scopeAndFinally(0) + , jsUnitGenerator(jsUnitGenerator) , _strictMode(strict) , _fileNameIsUrl(false) , hasError(false) |