summaryrefslogtreecommitdiff
path: root/deps/v8/src/heap/memory-chunk-layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/heap/memory-chunk-layout.cc')
-rw-r--r--deps/v8/src/heap/memory-chunk-layout.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/heap/memory-chunk-layout.cc b/deps/v8/src/heap/memory-chunk-layout.cc
index ff2dbd915f..e81aaec8f3 100644
--- a/deps/v8/src/heap/memory-chunk-layout.cc
+++ b/deps/v8/src/heap/memory-chunk-layout.cc
@@ -42,7 +42,8 @@ size_t MemoryChunkLayout::AllocatableMemoryInCodePage() {
}
intptr_t MemoryChunkLayout::ObjectStartOffsetInDataPage() {
- return RoundUp(MemoryChunk::kHeaderSize + Bitmap::kSize, kDoubleSize);
+ return RoundUp(MemoryChunk::kHeaderSize + Bitmap::kSize,
+ ALIGN_TO_ALLOCATION_ALIGNMENT(kDoubleSize));
}
size_t MemoryChunkLayout::ObjectStartOffsetInMemoryChunk(