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

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

Issue 820693006: Incremental GCInfo descriptor table expansion. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add missing PLATFORM_EXPORT Created 5 years, 11 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 | « no previous file | Source/platform/heap/Heap.cpp » ('j') | Source/platform/heap/Visitor.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.h
diff --git a/Source/platform/heap/Heap.h b/Source/platform/heap/Heap.h
index 55b7dceea8818d5d325563ea98d319faad6544d7..5b3ed9bb9316028bd66a1a49beeea5b5e9ad5d2a 100644
--- a/Source/platform/heap/Heap.h
+++ b/Source/platform/heap/Heap.h
@@ -151,7 +151,7 @@ public:
static_assert(sizeof(HeapObjectHeader) == 8, "size of HeapObjectHeader must be 8 byte aligned");
#endif
- ASSERT(gcInfoIndex < gcInfoIndexMax);
+ ASSERT(gcInfoIndex < GCInfoTable::maxIndex);
ASSERT(size < nonLargeObjectSizeMax);
ASSERT(!(size & allocationMask));
m_encoded = (gcInfoIndex << headerGCInfoIndexShift) | size | (gcInfoIndex ? 0 : headerFreedBitMask);
@@ -921,7 +921,7 @@ public:
static const GCInfo* gcInfo(size_t gcInfoIndex)
{
ASSERT(gcInfoIndex >= 1);
- ASSERT(gcInfoIndex < gcInfoIndexMax);
+ ASSERT(gcInfoIndex < GCInfoTable::maxIndex);
ASSERT(s_gcInfoTable);
const GCInfo* info = s_gcInfoTable[gcInfoIndex];
ASSERT(info);
« no previous file with comments | « no previous file | Source/platform/heap/Heap.cpp » ('j') | Source/platform/heap/Visitor.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698