diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-02-09 21:38:43 +0100 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-03-05 14:06:28 +0100 |
| commit | eade82695ffdf4892ded27c50dccc482df8086a2 (patch) | |
| tree | c2ac105305e682d19fa1ceea6afd8de5ab501044 /src/qml/jsruntime/qv4engine.cpp | |
| parent | 241b8693d69c73b1177235830049d470aa056aa1 (diff) | |
Prepare for white allocation during gc (4/9): BoundFunction
Put the newly created FunctionObject into a Scope.
This isn't actually needed, but acts as a safeguard in case
FunctionObject::function is changed in the future to allocate memory.
Change-Id: I5bcd888cd8bd5cb8c727eb3b29222981c851d4fe
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
0 files changed, 0 insertions, 0 deletions
