#include "list-inl.h"
#include "log.h"
#define ASSERT_MAP_PAGE_INDEX | ( | index | ) | ASSERT((0 <= index) && (index <= MapSpace::kMaxMapPageIndex)) |
#define ASSERT_OBJECT_ALIGNED | ( | address | ) | ASSERT((OffsetFrom(address) & kObjectAlignmentMask) == 0) |
#define ASSERT_OBJECT_SIZE | ( | size | ) | ASSERT((0 < size) && (size <= Page::kMaxHeapObjectSize)) |
#define ASSERT_PAGE_ALIGNED | ( | address | ) | ASSERT((OffsetFrom(address) & Page::kPageAlignmentMask) == 0) |
#define ASSERT_PAGE_OFFSET | ( | offset | ) |
ASSERT((Page::kObjectStartOffset <= offset) \ && (offset <= Page::kPageSize))
参照元 v8::internal::MarkCompactCollector::GetForwardingAddressInOldSpace(), v8::internal::Page::INLINE(), と v8::internal::Page::OffsetToAddress().