diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-07-14 15:38:43 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-07-15 06:26:22 +0000 |
commit | afa665317a2eb137aa5e4586c5a5ad093b33b279 (patch) | |
tree | b3d35d2f06f185953d760b0f83260e07a751bb3f /src/qml/compiler/qv4compiler_p.h | |
parent | 3190478663b68c275bb967618e98f4d9fe03f302 (diff) |
Clean up JS internal class serialization
We can serialize the compiled JS class data right when we collect it from the
IR. That makes the assembly of the compilation a little simpler later on.
Change-Id: I36d7dd2cc74241338fb1c236ce7778405066c8b8
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compiler_p.h')
-rw-r--r-- | src/qml/compiler/qv4compiler_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4compiler_p.h b/src/qml/compiler/qv4compiler_p.h index ef50945981..2ff08d76dd 100644 --- a/src/qml/compiler/qv4compiler_p.h +++ b/src/qml/compiler/qv4compiler_p.h @@ -123,8 +123,8 @@ private: QList<CompiledData::Lookup> lookups; QVector<CompiledData::RegExp> regexps; QVector<ReturnedValue> constants; - QList<QList<CompiledData::JSClassMember> > jsClasses; - uint jsClassDataSize; + QByteArray jsClassData; + QVector<int> jsClassOffsets; }; } |