Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index cc11130c3862ece8f17ee2d9dff807d69da15533..67c5e5f2d3b4b7c82172b3b930df74fb10815d04 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -17134,6 +17134,8 @@ void Dictionary<Derived, Shape, Key>::CollectKeysTo( |
EnumIndexComparator<Derived> cmp(static_cast<Derived*>(raw_dict)); |
Smi** start = reinterpret_cast<Smi**>(array->GetFirstElementAddress()); |
std::sort(start, start + array_size, cmp); |
+ FIXED_ARRAY_ELEMENTS_WRITE_BARRIER(keys->isolate()->heap(), *array, 0, |
+ array->length()); |
} |
for (int i = 0; i < array_size; i++) { |