create an appropriate magic number for an object at "ptr" "magic" should be kMagicAllocated or kMagicUnallocated
| 256 | // create an appropriate magic number for an object at "ptr" |
| 257 | // "magic" should be kMagicAllocated or kMagicUnallocated |
| 258 | inline static intptr_t Magic(intptr_t magic, AllocList::Header *ptr) { |
| 259 | return magic ^ reinterpret_cast<intptr_t>(ptr); |
| 260 | } |
| 261 | |
| 262 | // Initialize the fields of an Arena |
| 263 | static void ArenaInit(LowLevelAlloc::Arena *arena) { |
no outgoing calls
no test coverage detected