Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index f0c9154b5e9aa15cb45f00df5b5e43533b966979..639cdb5f7d170280ae2d17406f1e76199fdd1051 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -4307,18 +4307,9 @@ STRUCT_LIST(MAKE_CASE) |
} |
-bool Heap::IsHeapIterable() { |
- return (!old_pointer_space()->was_swept_conservatively() && |
- !old_data_space()->was_swept_conservatively()); |
Hannes Payer (out of office)
2014/05/19 08:31:12
Now I am not sure if we should remove that method.
|
-} |
- |
- |
-void Heap::EnsureHeapIsIterable() { |
+void Heap::MakeHeapIterable() { |
ASSERT(AllowHeapAllocation::IsAllowed()); |
- if (!IsHeapIterable()) { |
- CollectAllGarbage(kMakeHeapIterableMask, "Heap::EnsureHeapIsIterable"); |
- } |
- ASSERT(IsHeapIterable()); |
+ CollectAllGarbage(kMakeHeapIterableMask, "Heap::MakeHeapIterable"); |
} |