| 272 | } |
| 273 | |
| 274 | static void InitAllocatedArea(uint8_t* ptr, int64_t size) { |
| 275 | DCHECK_NE(size, 0); |
| 276 | util::SafeStore(ptr + size, size ^ memory_pool::internal::kDebugXorSuffix); |
| 277 | } |
| 278 | |
| 279 | static void CheckAllocatedArea(uint8_t* ptr, int64_t size, const char* context) { |
| 280 | // Check that memory wasn't clobbered at the end of the allocated area. |
nothing calls this directly
no outgoing calls
no test coverage detected