Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1531)

Unified Diff: Source/platform/heap/ThreadState.h

Issue 840223002: Oilpan: Remove duplicated code between HeapPage and LargeObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/ThreadState.h
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h
index 9bdb5a769386902407963e368c1702fb8e835b0e..2d527207732ff80c2e2629f7b5b27581032ef8d2 100644
--- a/Source/platform/heap/ThreadState.h
+++ b/Source/platform/heap/ThreadState.h
@@ -51,7 +51,6 @@ class Isolate;
namespace blink {
-class BaseHeap;
class BaseHeapPage;
class CallbackStack;
struct GCInfo;
@@ -186,6 +185,7 @@ enum TypedHeaps {
InlineVectorBackingHeap,
HashTableBackingHeap,
FOR_EACH_TYPED_HEAP(TypedHeapEnumName)
+ LargeObjectHeap,
// Values used for iteration of heap segments.
NumberOfHeaps,
};
@@ -480,8 +480,8 @@ public:
//
// The heap is split into multiple heap parts based on object
// types. To get the index for a given type, use
- // HeapTypeTrait<Type>::index.
- ThreadHeap* heap(int index) const { return m_heaps[index]; }
+ // HeapIndexTrait<Type>::index.
+ ThreadHeap* heap(int heapIndex) const { return m_heaps[heapIndex]; }
#if ENABLE(ASSERT) || ENABLE(GC_PROFILING)
// Infrastructure to determine if an address is within one of the
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698