| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 7503c0ad7369797c8eb46ca10789b693ac758a0c..2924a08190e0d9beca87dc0d14f5594a0d1a0e62 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -4739,8 +4739,7 @@ void Heap::IterateStrongRoots(ObjectVisitor* v, VisitMode mode) {
|
| // Iterate over the builtin code objects and code stubs in the
|
| // heap. Note that it is not necessary to iterate over code objects
|
| // on scavenge collections.
|
| - if (mode != VISIT_ALL_IN_SCAVENGE &&
|
| - mode != VISIT_ALL_IN_SWEEP_NEWSPACE) {
|
| + if (mode != VISIT_ALL_IN_SCAVENGE) {
|
| isolate_->builtins()->IterateBuiltins(v);
|
| }
|
| v->Synchronize("builtins");
|
|
|