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/qqmlirbuilder.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/qqmlirbuilder.cpp')
| -rw-r--r-- | src/qml/compiler/qqmlirbuilder.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/qml/compiler/qqmlirbuilder.cpp b/src/qml/compiler/qqmlirbuilder.cpp index cdfa698ff6..094df48a2a 100644 --- a/src/qml/compiler/qqmlirbuilder.cpp +++ b/src/qml/compiler/qqmlirbuilder.cpp @@ -1645,7 +1645,7 @@ bool IRBuilder::isRedundantNullInitializerForPropertyDeclaration(Property *prope return QQmlJS::AST::cast<QQmlJS::AST::NullExpression *>(expr); } -void QmlUnitGenerator::generate(Document &output, const QV4::CompiledData::DependentTypesHasher &dependencyHasher) +void QmlUnitGenerator::generate(Document &output) { using namespace QV4::CompiledData; @@ -1740,14 +1740,6 @@ void QmlUnitGenerator::generate(Document &output, const QV4::CompiledData::Depen } } - if (dependencyHasher) { - const QByteArray checksum = dependencyHasher(); - if (checksum.size() == sizeof(createdUnit->dependencyMD5Checksum)) { - memcpy(createdUnit->dependencyMD5Checksum, checksum.constData(), - sizeof(createdUnit->dependencyMD5Checksum)); - } - } - createdUnit->sourceFileIndex = output.jsGenerator.stringTable.getStringId(output.jsModule.fileName); createdUnit->finalUrlIndex = output.jsGenerator.stringTable.getStringId(output.jsModule.finalUrl); } |
