aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljscodegenerator_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlcompiler/qqmljscodegenerator_p.h')
-rw-r--r--src/qmlcompiler/qqmljscodegenerator_p.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/qmlcompiler/qqmljscodegenerator_p.h b/src/qmlcompiler/qqmljscodegenerator_p.h
index f29b3dd474..7ed0d08048 100644
--- a/src/qmlcompiler/qqmljscodegenerator_p.h
+++ b/src/qmlcompiler/qqmljscodegenerator_p.h
@@ -31,13 +31,13 @@ class Q_QMLCOMPILER_EXPORT QQmlJSCodeGenerator : public QQmlJSCompilePass
{
public:
QQmlJSCodeGenerator(const QV4::Compiler::Context *compilerContext,
- const QV4::Compiler::JSUnitGenerator *unitGenerator,
- const QQmlJSTypeResolver *typeResolver,
- QQmlJSLogger *logger);
+ const QV4::Compiler::JSUnitGenerator *unitGenerator,
+ const QQmlJSTypeResolver *typeResolver, QQmlJSLogger *logger,
+ BasicBlocks basicBlocks, InstructionAnnotations annotations);
~QQmlJSCodeGenerator() = default;
- QQmlJSAotFunction run(const Function *function, const InstructionAnnotations *annotations,
- QQmlJS::DiagnosticMessage *error, bool basicBlocksValidationFailed);
+ QQmlJSAotFunction run(const Function *function, QQmlJS::DiagnosticMessage *error,
+ bool basicBlocksValidationFailed);
protected:
struct CodegenState : public State
@@ -348,7 +348,6 @@ private:
QHash<int, QString> m_labels;
const QV4::Compiler::Context *m_context = nullptr;
- const InstructionAnnotations *m_annotations = nullptr;
bool m_skipUntilNextLabel = false;