| Index: src/spaces-inl.h
|
| diff --git a/src/spaces-inl.h b/src/spaces-inl.h
|
| index aeac570f4e4b7065a022edd311259b9d611f74ad..77117b8a4e4a9d960ad605f197cd623e888c5e47 100644
|
| --- a/src/spaces-inl.h
|
| +++ b/src/spaces-inl.h
|
| @@ -351,23 +351,6 @@ intptr_t LargeObjectSpace::Available() {
|
| }
|
|
|
|
|
| -template <typename StringType>
|
| -void NewSpace::ShrinkStringAtAllocationBoundary(String* string, int length) {
|
| - ASSERT(length <= string->length());
|
| - ASSERT(string->IsSeqString());
|
| - ASSERT(string->address() + StringType::SizeFor(string->length()) ==
|
| - allocation_info_.top);
|
| - Address old_top = allocation_info_.top;
|
| - allocation_info_.top =
|
| - string->address() + StringType::SizeFor(length);
|
| - string->set_length(length);
|
| - if (Marking::IsBlack(Marking::MarkBitFrom(string))) {
|
| - int delta = static_cast<int>(old_top - allocation_info_.top);
|
| - MemoryChunk::IncrementLiveBytesFromMutator(string->address(), -delta);
|
| - }
|
| -}
|
| -
|
| -
|
| bool FreeListNode::IsFreeListNode(HeapObject* object) {
|
| Map* map = object->map();
|
| Heap* heap = object->GetHeap();
|
|
|