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

Unified Diff: src/heap/spaces.h

Issue 2312853005: Revert of [heap] Switch to 500k pages (Closed)
Patch Set: Created 4 years, 3 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 | « src/heap/mark-compact.cc ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/spaces.h
diff --git a/src/heap/spaces.h b/src/heap/spaces.h
index 5e476f66a64d5c0348be4089e3b31b655ea008a5..2a27dbc002a1b4d536fa4c2c0a0f283a86c2a0ee 100644
--- a/src/heap/spaces.h
+++ b/src/heap/spaces.h
@@ -696,8 +696,7 @@
DEFINE_OPERATORS_FOR_FLAGS(MemoryChunk::Flags)
-static_assert(kMaxRegularHeapObjectSize <= MemoryChunk::kAllocatableMemory,
- "kMaxRegularHeapObjectSize <= MemoryChunk::kAllocatableMemory");
+STATIC_ASSERT(kMaxRegularHeapObjectSize < MemoryChunk::kAllocatableMemory);
// -----------------------------------------------------------------------------
// A page is a memory chunk of a size 1MB. Large object pages may be larger.
« no previous file with comments | « src/heap/mark-compact.cc ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698