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