Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index d8986f3557394fe8cd4ef69867641f5b167c8710..c32e2084a85bbe49a8e61641fb21a73ecfd339c1 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -766,9 +766,6 @@ class Heap { |
// Converts the given boolean condition to JavaScript boolean value. |
inline Oddball* ToBoolean(bool condition); |
- // Check whether the heap is currently iterable. |
- bool IsHeapIterable(); |
- |
// Notify the heap that a context has been disposed. |
int NotifyContextDisposed(bool dependant_context); |
@@ -2548,17 +2545,8 @@ class HeapIterator BASE_EMBEDDED { |
HeapObject* next(); |
private: |
- struct MakeHeapIterableHelper { |
- explicit MakeHeapIterableHelper(Heap* heap) { heap->MakeHeapIterable(); } |
- }; |
- |
HeapObject* NextObject(); |
- // The following two fields need to be declared in this order. Initialization |
- // order guarantees that we first make the heap iterable (which may involve |
- // allocations) and only then lock it down by not allowing further |
- // allocations. |
- MakeHeapIterableHelper make_heap_iterable_helper_; |
DisallowHeapAllocation no_heap_allocation_; |
Heap* heap_; |