| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index c38a121bb97b7d5d0d050b4039ecd5c2cf75327e..d79b19d42af5458c107798cf9dba6ef2014da0fc 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.
|
|
|