DescriptionDon't use StoreIC_ArrayLength on frozen arrays
The code previously assumed that an array with fast properties must have
a writable length property. But Object.freeze() now exposes a way to make
length read-only without moving the object into slow mode. This patch
simply adds a !is_frozen check to the IC code. Any future optimizations
to attribute-setting on JSArrays will need to make similar accomodations.
R=danno
BUG=v8:2711, 259548
Committed: https://code.google.com/p/v8/source/detail?r=15651
Patch Set 1 #
Total comments: 6
Messages
Total messages: 10 (0 generated)
|