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