Searched refs:ArenaFreeTag (Results 1 – 2 of 2) sorted by relevance
36 enum class ArenaFreeTag : uint8_t { enum65 static ArenaFreeTag& ArenaTagForAllocation(void* ptr) { in ArenaTagForAllocation()67 return *(reinterpret_cast<ArenaFreeTag*>(ptr) - 1); in ArenaTagForAllocation()109 ArenaTagForAllocation(ptr) = ArenaFreeTag::kUsed; in Alloc()
245 CHECK(ArenaStack::ArenaTagForAllocation(reinterpret_cast<void*>(ptr)) == ArenaFreeTag::kUsed) in ProtectMemory()247 ArenaStack::ArenaTagForAllocation(reinterpret_cast<void*>(ptr)) = ArenaFreeTag::kFree; in ProtectMemory()