| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 86046c9cb0bd3a4f795a33d6db16f1e7087d3d44..50f9ce19a905e31ca70400a87285e982499bbcf0 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -6661,7 +6661,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_SparseJoinWithSeparator) {
|
|
|
| // Find total length of join result.
|
| int string_length = 0;
|
| - bool is_ascii = true;
|
| + bool is_ascii = separator->IsAsciiRepresentation();
|
| int max_string_length = SeqAsciiString::kMaxLength;
|
| bool overflow = false;
|
| CONVERT_NUMBER_CHECKED(int, elements_length,
|
|
|