Avoid type confusion in ArrayJoinDenseKernel.

This commit is contained in:
Fedor 2019-08-01 03:18:24 +03:00
parent 594f7f0e19
commit 774cc9c944

View File

@ -1048,7 +1048,7 @@ struct StringSeparatorOp
template <typename SeparatorOp>
static bool
ArrayJoinDenseKernel(JSContext* cx, SeparatorOp sepOp, HandleNativeObject obj, uint64_t length,
ArrayJoinDenseKernel(JSContext* cx, SeparatorOp sepOp, HandleNativeObject obj, uint32_t length,
StringBuffer& sb, uint32_t* numProcessed)
{
// This loop handles all elements up to initializedLength. If