Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 0e5911122bb40f71c269af5e8e47a3992ea21a48..27e02efb065b3dd35bb9473ddfe29027600562cb 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -6969,7 +6969,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, |