| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index c112b4dbd6bb4ebea67024920e9a80c649519bd5..e4a951c7419fa3c37de85b834fcaec892e3ac217 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -2210,7 +2210,7 @@ Object* Debug::FindSharedFunctionInfoInScript(Handle<Script> script,
|
| Heap* heap = isolate_->heap();
|
| while (!done) {
|
| { // Extra scope for iterator and no-allocation.
|
| - heap->EnsureHeapIsIterable();
|
| + heap->MakeHeapIterable();
|
| DisallowHeapAllocation no_alloc_during_heap_iteration;
|
| HeapIterator iterator(heap);
|
| for (HeapObject* obj = iterator.next();
|
|
|