Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index a6dd83054b27a9f00f067d25cf45327133b859c8..8be409e747c06dc6b3b3200505bd11c87b0f2705 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -676,7 +676,7 @@ TEST(JSArray) { |
CHECK(array->HasFastTypeElements()); |
// array[length] = name. |
- array->SetElement(0, *name, kNonStrictMode, true)->ToObjectChecked(); |
+ array->SetElement(0, *name, NONE, kNonStrictMode)->ToObjectChecked(); |
CHECK_EQ(Smi::FromInt(1), array->length()); |
CHECK_EQ(array->GetElement(0), *name); |
@@ -691,7 +691,7 @@ TEST(JSArray) { |
CHECK(array->HasDictionaryElements()); // Must be in slow mode. |
// array[length] = name. |
- array->SetElement(int_length, *name, kNonStrictMode, true)->ToObjectChecked(); |
+ array->SetElement(int_length, *name, NONE, kNonStrictMode)->ToObjectChecked(); |
uint32_t new_int_length = 0; |
CHECK(array->length()->ToArrayIndex(&new_int_length)); |
CHECK_EQ(static_cast<double>(int_length), new_int_length - 1); |
@@ -718,8 +718,8 @@ TEST(JSObjectCopy) { |
obj->SetProperty( |
*second, Smi::FromInt(2), NONE, kNonStrictMode)->ToObjectChecked(); |
- obj->SetElement(0, *first, kNonStrictMode, true)->ToObjectChecked(); |
- obj->SetElement(1, *second, kNonStrictMode, true)->ToObjectChecked(); |
+ obj->SetElement(0, *first, NONE, kNonStrictMode)->ToObjectChecked(); |
+ obj->SetElement(1, *second, NONE, kNonStrictMode)->ToObjectChecked(); |
// Make the clone. |
Handle<JSObject> clone = Copy(obj); |
@@ -737,8 +737,8 @@ TEST(JSObjectCopy) { |
clone->SetProperty( |
*second, Smi::FromInt(1), NONE, kNonStrictMode)->ToObjectChecked(); |
- clone->SetElement(0, *second, kNonStrictMode, true)->ToObjectChecked(); |
- clone->SetElement(1, *first, kNonStrictMode, true)->ToObjectChecked(); |
+ clone->SetElement(0, *second, NONE, kNonStrictMode)->ToObjectChecked(); |
+ clone->SetElement(1, *first, NONE, kNonStrictMode)->ToObjectChecked(); |
CHECK_EQ(obj->GetElement(1), clone->GetElement(0)); |
CHECK_EQ(obj->GetElement(0), clone->GetElement(1)); |