From d970f5b68f64630a822301da62116c028b8cb1a1 Mon Sep 17 00:00:00 2001 From: Maciej Goszczycki Date: Tue, 18 Jun 2019 16:26:50 +0100 Subject: [PATCH] [cleanup] Remove unused heap.h declarations and FRIEND_TESTs HeapControllerTest no longer exists while the other HeapTests use IsolateData instead of Heap. Bug: v8:9183 Change-Id: I1d17dfb9edb167147e2434bc4097147cea7e277b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1664339 Commit-Queue: Maciej Goszczycki Commit-Queue: Ulan Degenbaev Auto-Submit: Maciej Goszczycki Reviewed-by: Ulan Degenbaev Cr-Commit-Position: refs/heads/master@{#62252} --- src/heap/heap.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/heap/heap.h b/src/heap/heap.h index b109ba48f4..484d5a0c50 100644 --- a/src/heap/heap.h +++ b/src/heap/heap.h @@ -44,29 +44,20 @@ class HeapTester; class TestMemoryAllocatorScope; } // namespace heap -class ObjectBoilerplateDescription; -class BytecodeArray; -class CodeDataContainer; -class DeoptimizationData; -class HandlerTable; class IncrementalMarking; class JSArrayBuffer; -class ExternalString; using v8::MemoryPressureLevel; class AllocationObserver; class ArrayBufferCollector; -class ArrayBufferTracker; class CodeLargeObjectSpace; class ConcurrentMarking; class GCIdleTimeHandler; class GCIdleTimeHeapState; class GCTracer; -class HeapController; class HeapObjectAllocationTracker; class HeapObjectsFilter; class HeapStats; -class HistogramTimer; class Isolate; class JSFinalizationGroup; class LocalEmbedderHeapTracer; @@ -86,7 +77,6 @@ class Space; class StoreBuffer; class StressScavengeObserver; class TimedHistogram; -class TracePossibleWrapperReporter; class WeakObjectRetainer; enum ArrayStorageAllocationMode { @@ -2126,9 +2116,6 @@ class Heap { // Used in cctest. friend class heap::HeapTester; - FRIEND_TEST(HeapControllerTest, OldGenerationAllocationLimit); - FRIEND_TEST(HeapTest, ExternalLimitDefault); - FRIEND_TEST(HeapTest, ExternalLimitStaysAboveDefaultForExplicitHandling); DISALLOW_COPY_AND_ASSIGN(Heap); };