aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compiler_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-06-30 15:34:12 +0200
committerLars Knoll <lars.knoll@qt.io>2017-07-03 06:09:13 +0000
commitbac9b54dfb38767a34410fa55f8f46e64b458efb (patch)
tree800905c8112b465b1ded26f100b1abc7f7f17c68 /src/qml/compiler/qv4compiler_p.h
parentf4804726c30279c54b0e9354305506458b9a0c76 (diff)
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 <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compiler_p.h')
-rw-r--r--src/qml/compiler/qv4compiler_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/compiler/qv4compiler_p.h b/src/qml/compiler/qv4compiler_p.h
index 50aa763452..3bab7a72cf 100644
--- a/src/qml/compiler/qv4compiler_p.h
+++ b/src/qml/compiler/qv4compiler_p.h
@@ -99,7 +99,7 @@ struct Q_QML_PRIVATE_EXPORT JSUnitGenerator {
bool isAccessor;
};
- JSUnitGenerator(QQmlJS::Module *module);
+ JSUnitGenerator(Module *module);
int registerString(const QString &str) { return stringTable.registerString(str); }
int getStringId(const QString &string) const { return stringTable.getStringId(string); }
@@ -129,14 +129,14 @@ struct Q_QML_PRIVATE_EXPORT JSUnitGenerator {
QV4::CompiledData::Unit *generateUnit(GeneratorOption option = GenerateWithStringTable);
// Returns bytes written
- void writeFunction(char *f, QQmlJS::Context *irFunction) const;
+ void writeFunction(char *f, Context *irFunction) const;
StringTableGenerator stringTable;
QString codeGeneratorName;
private:
CompiledData::Unit generateHeader(GeneratorOption option, QJsonPrivate::q_littleendian<quint32> *functionOffsets, uint *jsClassDataOffset);
- QQmlJS::Module *module;
+ Module *module;
QList<CompiledData::Lookup> lookups;
QVector<CompiledData::RegExp> regexps;