Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index aeab4014b7453403706d3a2858aa0593aa170570..9a2e0177dc0273583f2d2186ce958922b6910d63 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -672,7 +672,8 @@ TEST(JSArray) { |
// Set array length to 0. |
ok = array->SetElementsLength(Smi::FromInt(0))->ToObjectChecked(); |
CHECK_EQ(Smi::FromInt(0), array->length()); |
- CHECK(array->HasFastElements()); // Must be in fast mode. |
+ // Must be in fast mode. |
+ CHECK(array->HasFastTypeElements()); |
// array[length] = name. |
ok = array->SetElement(0, *name, kNonStrictMode, true)->ToObjectChecked(); |