| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index e9b23ed514ad3637d8d6903cb82ff285465c98e5..be1098cc4c3877b8c3734a4ba4da99bea9c8509a 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -1972,10 +1972,10 @@ TEST(PrototypeTransitionClearing) {
|
| CHECK(!space->LastPage()->Contains(
|
| map->GetPrototypeTransitions()->address()));
|
| CHECK(space->LastPage()->Contains(prototype->address()));
|
| - baseObject->SetPrototype(*prototype, false)->ToObjectChecked();
|
| - CHECK(map->GetPrototypeTransition(*prototype)->IsMap());
|
| + JSObject::SetPrototype(baseObject, prototype, false);
|
| + CHECK(Map::GetPrototypeTransition(map, prototype)->IsMap());
|
| HEAP->CollectAllGarbage(Heap::kNoGCFlags);
|
| - CHECK(map->GetPrototypeTransition(*prototype)->IsMap());
|
| + CHECK(Map::GetPrototypeTransition(map, prototype)->IsMap());
|
| }
|
|
|
|
|
|
|