diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2025-04-17 14:12:04 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2025-05-13 18:07:10 +0200 |
| commit | 18c421fe6159dc921643c72ae335cf189eb1cc3a (patch) | |
| tree | e025e22824995e60b0868638b1d1f76d963fba38 /src/qml/compiler/qv4compiler.cpp | |
| parent | f21ad4788b9dd918f19cb94dc585a260bc718d10 (diff) | |
QtQml: Remove dependency hashing
Since we don't store any property indices in the compilation units
anymore, we don't need to hash the dependencies anymore.
Task-number: QTBUG-135286
Change-Id: I2ea05c920475749f2a2d6cf309d0956a74d6c688
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compiler.cpp')
| -rw-r--r-- | src/qml/compiler/qv4compiler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4compiler.cpp b/src/qml/compiler/qv4compiler.cpp index c2c7426bd2..2ef93cf7d2 100644 --- a/src/qml/compiler/qv4compiler.cpp +++ b/src/qml/compiler/qv4compiler.cpp @@ -632,8 +632,9 @@ QV4::CompiledData::Unit QV4::Compiler::JSUnitGenerator::generateHeader(QV4::Comp unit.flags = QV4::CompiledData::Unit::IsJavascript; unit.flags |= module->unitFlags; unit.version = QV4_DATA_STRUCTURE_VERSION; + unit.reserved = 0; memset(unit.md5Checksum, 0, sizeof(unit.md5Checksum)); - memset(unit.dependencyMD5Checksum, 0, sizeof(unit.dependencyMD5Checksum)); + memset(unit.reserved2, 0, sizeof(unit.reserved2)); quint32 nextOffset = sizeof(CompiledData::Unit); |
