diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-02-09 21:35:09 +0100 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-03-05 14:06:28 +0100 |
| commit | 241b8693d69c73b1177235830049d470aa056aa1 (patch) | |
| tree | b6b6eeea3e04bc0d2db73a0dd0f16ba79533f5a5 /src/qml/jsruntime/qv4functionobject.cpp | |
| parent | b0d753ee3a76aaf57a7dafc79f951da2013b3025 (diff) | |
Prepare for white allocation during gc(3/9): Function
Function(Data) keeps references to two heap-items; use the newly
introduced wrapper classes to ensure writes always go through the
WriteBarrier.
Provide a "mark" function in ExecutableCompilationUnit so that the
wrapper can actually pick it up - the existing function there was called
markObjects. We don't rename the existing function to keep the diff
minimal.
Provide a mark function in Function for the same reason.
Task-number: QTBUG-121910
Change-Id: Ib56eb2f3f2315036ce43273c9ebc629d10458e9a
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
0 files changed, 0 insertions, 0 deletions
