Skip to content

Commit

Permalink
[heap] Fix MemoryChunkLayout on MSVC/x86
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Oct 19, 2022
1 parent 1a1ceea commit bdee808
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/heap/memory-chunk-layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ class V8_EXPORT_PRIVATE MemoryChunkLayout {
FIELD(ObjectStartBitmap, ObjectStartBitmap),
#endif // V8_ENABLE_INNER_POINTER_RESOLUTION_OSB
FIELD(size_t, WasUsedForAllocation),
#if defined(_MSC_VER) && defined(_M_IX86)
kPaddingOffset = kWasUsedForAllocationEnd + 4,
#endif
kMarkingBitmapOffset,
kMemoryChunkHeaderSize = kMarkingBitmapOffset,
kMemoryChunkHeaderStart = kSlotSetOffset,
Expand Down

0 comments on commit bdee808

Please sign in to comment.