| 392 | popRange(); |
| 393 | } |
| 394 | virtual void beforeTable ( Table * PT, TypeInfo * ti ) override { |
| 395 | auto tsize = (ti->firstType->size + ti->secondType->size) * PT->capacity + tableHashSlotBytes(*PT)*PT->capacity; |
| 396 | DAS_ASSERT(tsize==(getTypeSize(ti->firstType)+getTypeSize(ti->secondType))*PT->capacity + tableHashSlotBytes(*PT)*PT->capacity); |
| 397 | char * pa = PT->data; |
| 398 | PtrRange rdata(pa, tsize); |
| 399 | if ( reportHeap && tsize && markRange(rdata) ) { |
| 400 | if ( describe_ptr(pa, tsize) ) { |
| 401 | describeInfo(ti); |
| 402 | ReportHistory(); |
| 403 | tp << "TABLE " << getTypeInfoMangledName(ti) << "\n"; |
| 404 | } |
| 405 | } |
| 406 | pushRange(rdata); |
| 407 | } |
| 408 | virtual void afterTable ( Table *, TypeInfo * ) override { |
| 409 | popRange(); |
| 410 | } |
nothing calls this directly
no test coverage detected