DescriptionFix invalid usage of StoreIC_ArrayLength optimization.
This introduces an additional check into the StoreIC_ArrayLength builtin
checking that the array still has fast properties. Redifinitions of the
length property that would cause it's type or attributes to change, will
switch to slow properties, thereby invalidating said optimization.
R=svenpanne@chromium.org
BUG=v8:1756
TEST=test262
Committed: http://code.google.com/p/v8/source/detail?r=10254
Patch Set 1 #Patch Set 2 : Change check to be in sync with JSObject::HasFastProperties. #
Total comments: 4
Patch Set 3 : Addressed comments by Sven Panne. #
Messages
Total messages: 4 (0 generated)
|