| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index f6b60d84c22e3d22a10cc2e6b58de9662a00effa..d52ae8d8ca964151d1ba79c1f06e970129cad852 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -2759,7 +2759,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);
|
| - JSObject::SetIdentityHash(internal_obj, hash);
|
| + JSObject::SetIdentityHash(internal_obj, handle(hash, CcTest::i_isolate()));
|
| if (i == 1) obj->SetHiddenValue(v8_str("key string"), value);
|
|
|
| // Check values.
|
|
|