diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-05-23 10:26:15 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-05-23 08:48:04 +0000 |
commit | eaec83583fff3e3bf431f6179936b84f4acca553 (patch) | |
tree | 2dc06fd396a15436ce53b51803a55262def40256 /src/3rdparty/masm/jit | |
parent | 1aecb24682075cbb99f21a367c399387b12257d0 (diff) |
Fix crash when modifying objects used as prototypes
Changing the prototype of an object back and forth leads to a
'cyclic' reference in the internal class transition tables. If
one of those objects then gets a new property, we would get an
infinite stack recursion trying to update the internal class IDs
of the classes using this prototype.
Fixed by skipping protochanges and vtable changes in the update
code. That's ok, as those classes will always be reached through
other paths from the empty class.
Task-number: QTBUG-68369
Change-Id: Ie54ca5171a92f8e8b146a91376e435478ff70185
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/3rdparty/masm/jit')
0 files changed, 0 insertions, 0 deletions