Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 51b829bec20845bcbf67fa0522836e8a006a8fcc..3b163da600d70fdb7c34a381642246b783b39d59 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -791,7 +791,7 @@ TEST(JSArray) { |
CHECK(array->HasFastSmiOrObjectElements()); |
// array[length] = name. |
- JSReceiver::SetElement(array, 0, name, NONE, SLOPPY).Check(); |
+ JSReceiver::SetElement(array, 0, name, SLOPPY).Check(); |
CHECK_EQ(Smi::FromInt(1), array->length()); |
element = i::Object::GetElement(isolate, array, 0).ToHandleChecked(); |
CHECK_EQ(*element, *name); |
@@ -807,7 +807,7 @@ TEST(JSArray) { |
CHECK(array->HasDictionaryElements()); // Must be in slow mode. |
// array[length] = name. |
- JSReceiver::SetElement(array, int_length, name, NONE, SLOPPY).Check(); |
+ JSReceiver::SetElement(array, int_length, name, SLOPPY).Check(); |
uint32_t new_int_length = 0; |
CHECK(array->length()->ToArrayIndex(&new_int_length)); |
CHECK_EQ(static_cast<double>(int_length), new_int_length - 1); |
@@ -838,8 +838,8 @@ TEST(JSObjectCopy) { |
JSReceiver::SetProperty(obj, first, one, SLOPPY).Check(); |
JSReceiver::SetProperty(obj, second, two, SLOPPY).Check(); |
- JSReceiver::SetElement(obj, 0, first, NONE, SLOPPY).Check(); |
- JSReceiver::SetElement(obj, 1, second, NONE, SLOPPY).Check(); |
+ JSReceiver::SetElement(obj, 0, first, SLOPPY).Check(); |
+ JSReceiver::SetElement(obj, 1, second, SLOPPY).Check(); |
// Make the clone. |
Handle<Object> value1, value2; |
@@ -864,8 +864,8 @@ TEST(JSObjectCopy) { |
JSReceiver::SetProperty(clone, first, two, SLOPPY).Check(); |
JSReceiver::SetProperty(clone, second, one, SLOPPY).Check(); |
- JSReceiver::SetElement(clone, 0, second, NONE, SLOPPY).Check(); |
- JSReceiver::SetElement(clone, 1, first, NONE, SLOPPY).Check(); |
+ JSReceiver::SetElement(clone, 0, second, SLOPPY).Check(); |
+ JSReceiver::SetElement(clone, 1, first, SLOPPY).Check(); |
value1 = Object::GetElement(isolate, obj, 1).ToHandleChecked(); |
value2 = Object::GetElement(isolate, clone, 0).ToHandleChecked(); |