diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2025-05-14 16:15:09 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2025-05-15 23:34:19 +0200 |
| commit | b9a085b26f753d4f1317bb4caa16329ff6646f3b (patch) | |
| tree | 5dc764b683d9ac85877034e4d92382b1b8af40db /src/qml/compiler/qv4compiler.cpp | |
| parent | 72b4dff6c0ba7f51a9e97db73b06135b8d8cb287 (diff) | |
Revert "QtQml: Remove dependency hashing"
This reverts commit 18c421fe6159dc921643c72ae335cf189eb1cc3a.
Removing the dependency hashing is not safe because there are various
other bits covered by it, not only the alias target IDs.
Task-number: QTBUG-136806
Change-Id: I4a8a57d810203a47945ce67916ee5b54ee7a603d
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, 1 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4compiler.cpp b/src/qml/compiler/qv4compiler.cpp index 2ef93cf7d2..c2c7426bd2 100644 --- a/src/qml/compiler/qv4compiler.cpp +++ b/src/qml/compiler/qv4compiler.cpp @@ -632,9 +632,8 @@ 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.reserved2, 0, sizeof(unit.reserved2)); + memset(unit.dependencyMD5Checksum, 0, sizeof(unit.dependencyMD5Checksum)); quint32 nextOffset = sizeof(CompiledData::Unit); |
