Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 83a95f786cafd269c41dba118c23526138ad6fdf..0741294401e51df6448bf8b193339b878c00b481 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2072,10 +2072,6 @@ TEST(PrototypeTransitionClearing) { |
CHECK(!space->LastPage()->Contains( |
map->GetPrototypeTransitions()->address())); |
CHECK(space->LastPage()->Contains(prototype->address())); |
- JSObject::SetPrototype(baseObject, prototype, false); |
- CHECK(Map::GetPrototypeTransition(map, prototype)->IsMap()); |
- CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
- CHECK(Map::GetPrototypeTransition(map, prototype)->IsMap()); |
} |