diff options
author | Ulf Hermann <[email protected]> | 2019-03-26 13:57:33 +0100 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2019-03-27 09:23:07 +0000 |
commit | 60f766f5c68fc33322c6d095d81b1856828b2b0b (patch) | |
tree | 8196c19566407873570499e0be334470406321f4 /src/qml/jsruntime/qv4include.cpp | |
parent | b6d0ed435d2d57359b6eafb2728c024eab0b1ece (diff) |
Re-use existing IC when freezing properties
There is no reason to start from the empty class in that case.
Furthermore, if the properties are already frozen, starting from the
empty class will walk the IC hierarchy to the current IC. However, if
the garbage collector has removed the intermediate classes in the mean
time, we end up at a new IC which is equivalent but not the same.
Therefore, the freezing never terminates.
Task-number: QTBUG-74190
Change-Id: Id544bd00d3b4b563fb06dfce0edd0385e1d32a6c
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4include.cpp')
0 files changed, 0 insertions, 0 deletions