Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 70d2ce277161f41c6af272612433fe835df64159..7647a6ee0d0720d437065b81f0982f4b323182a5 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -683,7 +683,7 @@ TEST(ObjectProperties) { |
CHECK(JSReceiver::HasLocalProperty(obj, first)); |
// delete first |
- JSReceiver::DeleteProperty(obj, first, JSReceiver::NORMAL_DELETION); |
+ JSReceiver::DeleteProperty(obj, first, JSReceiver::NORMAL_DELETION).Check(); |
CHECK(!JSReceiver::HasLocalProperty(obj, first)); |
// add first and then second |
@@ -693,9 +693,9 @@ TEST(ObjectProperties) { |
CHECK(JSReceiver::HasLocalProperty(obj, second)); |
// delete first and then second |
- JSReceiver::DeleteProperty(obj, first, JSReceiver::NORMAL_DELETION); |
+ JSReceiver::DeleteProperty(obj, first, JSReceiver::NORMAL_DELETION).Check(); |
CHECK(JSReceiver::HasLocalProperty(obj, second)); |
- JSReceiver::DeleteProperty(obj, second, JSReceiver::NORMAL_DELETION); |
+ JSReceiver::DeleteProperty(obj, second, JSReceiver::NORMAL_DELETION).Check(); |
CHECK(!JSReceiver::HasLocalProperty(obj, first)); |
CHECK(!JSReceiver::HasLocalProperty(obj, second)); |
@@ -706,9 +706,9 @@ TEST(ObjectProperties) { |
CHECK(JSReceiver::HasLocalProperty(obj, second)); |
// delete second and then first |
- JSReceiver::DeleteProperty(obj, second, JSReceiver::NORMAL_DELETION); |
+ JSReceiver::DeleteProperty(obj, second, JSReceiver::NORMAL_DELETION).Check(); |
CHECK(JSReceiver::HasLocalProperty(obj, first)); |
- JSReceiver::DeleteProperty(obj, first, JSReceiver::NORMAL_DELETION); |
+ JSReceiver::DeleteProperty(obj, first, JSReceiver::NORMAL_DELETION).Check(); |
CHECK(!JSReceiver::HasLocalProperty(obj, first)); |
CHECK(!JSReceiver::HasLocalProperty(obj, second)); |