| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index cce467ff4f24deebbd53f8ef7f3652b3d8f44447..d05c91ef98f614c6950321ef7fa522b4feff9df4 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -342,8 +342,6 @@ class WeakObjectRetainer;
|
|
|
| typedef void (*ObjectSlotCallback)(HeapObject** from, HeapObject* to);
|
|
|
| -enum PromotionMode { PROMOTE_MARKED, DEFAULT_PROMOTION };
|
| -
|
| enum ArrayStorageAllocationMode {
|
| DONT_INITIALIZE_ARRAY_ELEMENTS,
|
| INITIALIZE_ARRAY_ELEMENTS_WITH_HOLE
|
| @@ -835,11 +833,8 @@ class Heap {
|
|
|
| // An object should be promoted if the object has survived a
|
| // scavenge operation.
|
| - template <PromotionMode promotion_mode>
|
| inline bool ShouldBePromoted(Address old_address, int object_size);
|
|
|
| - inline PromotionMode CurrentPromotionMode();
|
| -
|
| void ClearNormalizedMapCaches();
|
|
|
| void IncrementDeferredCount(v8::Isolate::UseCounterFeature feature);
|
| @@ -1778,8 +1773,7 @@ class Heap {
|
| // Performs a minor collection in new generation.
|
| void Scavenge();
|
|
|
| - Address DoScavenge(ObjectVisitor* scavenge_visitor, Address new_space_front,
|
| - PromotionMode promotion_mode);
|
| + Address DoScavenge(ObjectVisitor* scavenge_visitor, Address new_space_front);
|
|
|
| void UpdateNewSpaceReferencesInExternalStringTable(
|
| ExternalStringTableUpdaterCallback updater_func);
|
|
|