| Index: src/heap-inl.h
|
| diff --git a/src/heap-inl.h b/src/heap-inl.h
|
| index 22e4c971a9b9af983398c2f2df0118de97df25c3..162dac2237efbe86e8450ddc99a7bb5129f4c564 100644
|
| --- a/src/heap-inl.h
|
| +++ b/src/heap-inl.h
|
| @@ -388,8 +388,6 @@ bool Heap::OldGenerationAllocationLimitReached() {
|
|
|
|
|
| bool Heap::ShouldBePromoted(Address old_address, int object_size) {
|
| - // An object should be promoted if the object has survived a
|
| - // scavenge operation.
|
| NewSpacePage* page = NewSpacePage::FromAddress(old_address);
|
| Address age_mark = new_space_.age_mark();
|
| return page->IsFlagSet(MemoryChunk::NEW_SPACE_BELOW_AGE_MARK) &&
|
|
|