diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2024-01-10 09:22:19 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-01-20 23:59:24 +0100 |
commit | 930c8f186ac07f3462de41bcba6cf9d881e79fc2 (patch) | |
tree | 555a8cc6d26691dac2f4f4d2dfd3a1e7b7dab9fb /tests/auto/qml/ecmascripttests/test262runner.cpp | |
parent | af212e5e4edb73978298cd030b15deb8d8c28183 (diff) |
QtQml: Use CompiledData::CompilationUnit in more places
We rarely actually need the executable CU, and where we need it, we can
dynamically create or retrieve it from the engine. To that end, store
all the CUs in the same container in the engine.
Change-Id: I0b786048c578ac4f41ae4aee601da850fa400f2e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/ecmascripttests/test262runner.cpp')
-rw-r--r-- | tests/auto/qml/ecmascripttests/test262runner.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qml/ecmascripttests/test262runner.cpp b/tests/auto/qml/ecmascripttests/test262runner.cpp index 1161feda8c..947ec4ed3d 100644 --- a/tests/auto/qml/ecmascripttests/test262runner.cpp +++ b/tests/auto/qml/ecmascripttests/test262runner.cpp @@ -326,7 +326,6 @@ void Test262Runner::executeTest(QV4::ExecutionEngine &vm, const QString &testDat QFileInfo(f).lastModified()); if (vm.hasException) break; - vm.injectCompiledModule(module); } else { vm.throwError(QStringLiteral("Could not load module")); break; |