diff options
Diffstat (limited to 'src/qml/compiler/qv4compiler_p.h')
-rw-r--r-- | src/qml/compiler/qv4compiler_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compiler_p.h b/src/qml/compiler/qv4compiler_p.h index bb9794358b..f2547f2d06 100644 --- a/src/qml/compiler/qv4compiler_p.h +++ b/src/qml/compiler/qv4compiler_p.h @@ -84,6 +84,8 @@ struct Q_QML_PRIVATE_EXPORT StringTableGenerator { uint sizeOfTableAndData() const { return stringDataSize + stringCount() * sizeof(uint); } + void freeze() { frozen = true; } + void clear(); void initializeFromBackingUnit(const CompiledData::Unit *unit); @@ -95,6 +97,7 @@ private: QStringList strings; uint stringDataSize; uint backingUnitTableSize = 0; + bool frozen = false; }; struct Q_QML_PRIVATE_EXPORT JSUnitGenerator { |