Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index a8f43d598bb0bb37075f1802f15e4506775d0458..a64268835d78f899f8b7151f284be527560c94a6 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -1436,9 +1436,7 @@ class DictionaryElementsAccessor |
} |
if (new_length == 0) { |
- // If the length of a slow array is reset to zero, we clear |
- // the array and flush backing storage. This has the added |
- // benefit that the array returns to fast mode. |
+ // Flush the backing store. |
JSObject::ResetElements(array); |
} else { |
DisallowHeapAllocation no_gc; |