DescriptionFix invalid array length check in TransitionElementsKindStub.
The stub used to check the length of the JS array to see if
there's a need to duplicate the elements backing store. This
way it will not duplicate the elements array when going from
double to object even if the elements array is not the empty
fixed array. Later on it will then store pointers into a
FixedDoubleArray.
The native code stub used to check whether elements points to
the empty_fixed_array singleton instead of testing the length.
The Hydrogen stub does that as well now.
R=danno@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=15701
Patch Set 1 #
Total comments: 1
Patch Set 2 : Cleanup #Patch Set 3 : Addressed comments #Patch Set 4 : Add test case. #Patch Set 5 : REBASE #Messages
Total messages: 8 (0 generated)
|