DescriptionValueSerializer: Check for zero length before casting to FixedDoubleArray.
Even though the elements kind is FAST_DOUBLE_ELEMENTS, if length is zero
the isolate's empty_fixed_array is used. It's illegal to cast this to
FixedDoubleArray, so we avoid the cast.
BUG=chromium:686479
Review-Url: https://codereview.chromium.org/2665313003
Cr-Commit-Position: refs/heads/master@{#42867}
Committed: https://chromium.googlesource.com/v8/v8/+/c3856de3714e62943d4bed100346158c227318a4
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|