diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-05-05 13:57:26 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-05-12 15:39:23 +0000 |
commit | 2a992e96f783a8caea3b6a5e8e96d620fcd15817 (patch) | |
tree | fd6809e771ab3a0634db2b72b2e2d5e690128d5c /src/qml/jsruntime | |
parent | 81943c702ef818003d06c7bccaece2ed23f6079c (diff) |
QML: Port icutils::Node to new special integer bitfield
Change-Id: I46f4f21bda1360d09e2c49a1f04dbe411fb46f7d
Task-number: QTBUG-99545
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit eca5dcab020a60a53c0ad1b130cf2873d3feff3e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml/jsruntime')
-rw-r--r-- | src/qml/jsruntime/qv4executablecompilationunit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4executablecompilationunit.cpp b/src/qml/jsruntime/qv4executablecompilationunit.cpp index f015040aa5..dd9a98e11c 100644 --- a/src/qml/jsruntime/qv4executablecompilationunit.cpp +++ b/src/qml/jsruntime/qv4executablecompilationunit.cpp @@ -442,7 +442,7 @@ void ExecutableCompilationUnit::finalizeCompositeType(QQmlEnginePrivate *qmlEngi // We need to first iterate over all inline components, as the containing component might create instances of them // and in that case we need to add its object count for (auto nodeIt = nodesSorted.rbegin(); nodeIt != nodesSorted.rend(); ++nodeIt) { - const auto &ic = allICs.at(nodeIt->index); + const auto &ic = allICs.at(nodeIt->index()); int lastICRoot = ic.objectIndex; for (int i = ic.objectIndex; i<objectCount(); ++i) { const QV4::CompiledData::Object *obj = objectAt(i); |