| Index: src/heap/heap-inl.h
|
| diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h
|
| index f418cae2f0355a39716e21c2ca317f0baafa77d0..c3fa55aed9b2eacd2b28af34f905b101d9f38983 100644
|
| --- a/src/heap/heap-inl.h
|
| +++ b/src/heap/heap-inl.h
|
| @@ -702,12 +702,15 @@ void Heap::ExternalStringTable::AddString(String* string) {
|
| }
|
| }
|
|
|
| -
|
| -void Heap::ExternalStringTable::Iterate(ObjectVisitor* v) {
|
| +void Heap::ExternalStringTable::IterateNewSpaceStrings(ObjectVisitor* v) {
|
| if (!new_space_strings_.is_empty()) {
|
| Object** start = &new_space_strings_[0];
|
| v->VisitPointers(start, start + new_space_strings_.length());
|
| }
|
| +}
|
| +
|
| +void Heap::ExternalStringTable::IterateAll(ObjectVisitor* v) {
|
| + IterateNewSpaceStrings(v);
|
| if (!old_space_strings_.is_empty()) {
|
| Object** start = &old_space_strings_[0];
|
| v->VisitPointers(start, start + old_space_strings_.length());
|
|
|