aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compiler_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-08-06 14:59:34 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-08-15 08:28:43 +0200
commit82fc19625263b26343ef6c1de5c5c13ae1c9ab25 (patch)
treed560318566581469dec5c117cac9d8dd77816b53 /src/qml/compiler/qv4compiler_p.h
parentddb134af9903512408b7e52455f1787e4b6b62ea (diff)
Cleanup
Merge QV4::CompiledData::QmlUnit into QV4::CompiledData::Unit. For pure JS units it means a slight increase of memory usage by a few bytes, but overall it makes the code a lot simpler. Change-Id: Ib48927749720b056f004aac0fe22cb8ec729e3f6 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4compiler_p.h')
-rw-r--r--src/qml/compiler/qv4compiler_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4compiler_p.h b/src/qml/compiler/qv4compiler_p.h
index a52128f653..32e298a3a7 100644
--- a/src/qml/compiler/qv4compiler_p.h
+++ b/src/qml/compiler/qv4compiler_p.h
@@ -80,7 +80,7 @@ private:
};
struct Q_QML_PRIVATE_EXPORT JSUnitGenerator {
- JSUnitGenerator(IR::Module *module, int headerSize = -1);
+ JSUnitGenerator(IR::Module *module);
int registerString(const QString &str) { return stringTable.registerString(str); }
int getStringId(const QString &string) const { return stringTable.getStringId(string); }
@@ -112,7 +112,6 @@ private:
QVector<ReturnedValue> constants;
QList<QList<CompiledData::JSClassMember> > jsClasses;
uint jsClassDataSize;
- uint headerSize;
};
}