| 80 | } |
| 81 | |
| 82 | char* VArenaAlloc::NextBlock(char* footerEnd) { |
| 83 | char* objEnd = footerEnd - (sizeof(Footer) + sizeof(char*)); |
| 84 | char* next; |
| 85 | memmove(&next, objEnd, sizeof(char*)); |
| 86 | RunDtorsOnBlock(next); |
| 87 | delete [] objEnd; |
| 88 | return nullptr; |
| 89 | } |
| 90 | |
| 91 | void VArenaAlloc::installUint32Footer(FooterAction* action, uint32_t value, uint32_t padding) { |
| 92 | memmove(fCursor, &value, sizeof(uint32_t)); |
nothing calls this directly
no outgoing calls
no test coverage detected