diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2012-02-14 10:47:03 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-20 08:34:28 +0100 |
commit | 330152354aed8496ac78d145e14b25ee2d7bf8fb (patch) | |
tree | d1aacb6ef10d695651a66138050c45cc34249e83 /src/declarative/qml/qdeclarativecompiler_p.h | |
parent | de431c5e6cc8d439ed039e24f050ad8020792ab8 (diff) |
Use Utf8 for javascript source code
This saves a surprising amount of memory.
Change-Id: I16f7bde8d11fe11703d4e441060fd52e9632248c
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/declarative/qml/qdeclarativecompiler_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativecompiler_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativecompiler_p.h b/src/declarative/qml/qdeclarativecompiler_p.h index 67d925e74b..8ae6685894 100644 --- a/src/declarative/qml/qdeclarativecompiler_p.h +++ b/src/declarative/qml/qdeclarativecompiler_p.h @@ -112,6 +112,7 @@ public: QDeclarativePropertyCache *rootPropertyCache; QList<QString> primitives; QList<QByteArray> datas; + QList<QByteArray> programs; QByteArray bytecode; QList<QDeclarativePropertyCache *> propertyCaches; QList<QDeclarativeIntegerCache *> contextCaches; @@ -256,9 +257,8 @@ namespace QDeclarativeCompilerTypes { bool nested; QByteArray compiledBindingData; - QString v8BindingProgram; + QByteArray v8BindingProgram; int v8BindingProgramLine; - int v8BindingProgramIndex; DepthStack objectDepth; DepthStack listDepth; |