| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 25a3b85caba31f7f514bca2c29329017623a3e7b..7fa2a0e0cfd45c007182aa181523905b87b8af62 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -1480,22 +1480,6 @@ int HeapObject::Size() {
|
| }
|
|
|
|
|
| -bool HeapObject::ContainsPointers() {
|
| - InstanceType type = map()->instance_type();
|
| - if (type <= LAST_NAME_TYPE) {
|
| - if (type == SYMBOL_TYPE) {
|
| - return true;
|
| - }
|
| - ASSERT(type < FIRST_NONSTRING_TYPE);
|
| - // There are four string representations: sequential strings, external
|
| - // strings, cons strings, and sliced strings.
|
| - // Only the latter two contain non-map-word pointers to heap objects.
|
| - return ((type & kIsIndirectStringMask) == kIsIndirectStringTag);
|
| - }
|
| - return (type > LAST_DATA_TYPE);
|
| -}
|
| -
|
| -
|
| void HeapObject::IteratePointers(ObjectVisitor* v, int start, int end) {
|
| v->VisitPointers(reinterpret_cast<Object**>(FIELD_ADDR(this, start)),
|
| reinterpret_cast<Object**>(FIELD_ADDR(this, end)));
|
|
|