| Index: src/heap-inl.h
|
| diff --git a/src/heap-inl.h b/src/heap-inl.h
|
| index e038453778504ab90d081e7a37bc8942f8c9caa5..67e266f222b6be692d81c1fd0e7210b75f3570ba 100644
|
| --- a/src/heap-inl.h
|
| +++ b/src/heap-inl.h
|
| @@ -644,6 +644,19 @@ void ExternalStringTable::ShrinkNewStrings(int position) {
|
| }
|
|
|
|
|
| +void ErrorObjectList::Add(JSObject* object) {
|
| + list_.Add(object);
|
| +}
|
| +
|
| +
|
| +void ErrorObjectList::Iterate(ObjectVisitor* v) {
|
| + if (!list_.is_empty()) {
|
| + Object** start = &list_[0];
|
| + v->VisitPointers(start, start + list_.length());
|
| + }
|
| +}
|
| +
|
| +
|
| void Heap::ClearInstanceofCache() {
|
| set_instanceof_cache_function(the_hole_value());
|
| }
|
|
|