aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljscompiler.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2024-06-13 09:04:01 +0200
committerUlf Hermann <ulf.hermann@qt.io>2024-06-16 00:17:34 +0200
commit12f67f1a06a9bf54a5ac7b699d0ac4d2dfa8e442 (patch)
tree27c3b30ac19f001ac1339da096f3ebf4de67f1fb /src/qmlcompiler/qqmljscompiler.cpp
parentdd731b880b4bfbe7bad7b0b4d1ac3b72503c0071 (diff)
QmlCompiler: Remove QQmlJSTypeResolver::containedType()
We don't need the type resolver anymore to determine the contained type. QQmlJSRegisterContent can do it by itself. Change-Id: I395dc76cff751f6ac1afdfcd4ef7f80f05fcc36f Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljscompiler.cpp')
-rw-r--r--src/qmlcompiler/qqmljscompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljscompiler.cpp b/src/qmlcompiler/qqmljscompiler.cpp
index 2fd893ca2a..d55140f964 100644
--- a/src/qmlcompiler/qqmljscompiler.cpp
+++ b/src/qmlcompiler/qqmljscompiler.cpp
@@ -809,7 +809,7 @@ QQmlJSAotFunction QQmlJSAotCompiler::doCompileAndRecordAotStats(
entry.column = location.startColumn;
entry.codegenSuccessful = !error->isValid();
QQmlJS::QQmlJSAotCompilerStats::addEntry(
- m_typeResolver.containedType(function->qmlScope)->filePath(), entry);
+ function->qmlScope.containedType()->filePath(), entry);
}
return result;