Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 87598e2fb020cf2bc704ef5c03858738efd13daf..fc6a1ec40ff13a047aceb5d585f7b6a5c7f06217 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2691,9 +2691,7 @@ TEST(Regress2211) { |
// In the first iteration, set hidden value first and identity hash second. |
// In the second iteration, reverse the order. |
if (i == 0) obj->SetHiddenValue(v8_str("key string"), value); |
- MaybeObject* maybe_obj = internal_obj->SetIdentityHash(hash, |
- ALLOW_CREATION); |
- CHECK(!maybe_obj->IsFailure()); |
+ JSObject::SetIdentityHash(internal_obj, hash); |
if (i == 1) obj->SetHiddenValue(v8_str("key string"), value); |
// Check values. |