| Index: src/debug/liveedit.cc
|
| diff --git a/src/debug/liveedit.cc b/src/debug/liveedit.cc
|
| index 481197f91ecbeb99b96181fe3bae0abe6b2ded28..851758c3b560de4795f69323fadcfda15a0f6a7d 100644
|
| --- a/src/debug/liveedit.cc
|
| +++ b/src/debug/liveedit.cc
|
| @@ -728,7 +728,7 @@ static void ReplaceCodeObject(Handle<Code> original,
|
| // to code objects (that are never in new space) without worrying about
|
| // write barriers.
|
| Heap* heap = original->GetHeap();
|
| - HeapIterator iterator(heap);
|
| + HeapIterator iterator(heap, HeapIterator::kFilterUnreachable);
|
| // Now iterate over all pointers of all objects, including code_target
|
| // implicit pointers.
|
| for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) {
|
| @@ -1402,7 +1402,7 @@ bool LiveEdit::FindActiveGenerators(Handle<FixedArray> shared_info_array,
|
| FunctionPatchabilityStatus active = FUNCTION_BLOCKED_ACTIVE_GENERATOR;
|
|
|
| Heap* heap = isolate->heap();
|
| - HeapIterator iterator(heap);
|
| + HeapIterator iterator(heap, HeapIterator::kFilterUnreachable);
|
| HeapObject* obj = NULL;
|
| while ((obj = iterator.next()) != NULL) {
|
| if (!obj->IsJSGeneratorObject()) continue;
|
|
|