| 5723 | } |
| 5724 | |
| 5725 | static void DumpString(const TString* s, DumpState* D) |
| 5726 | { |
| 5727 | if (s==NULL || getstr(s)==NULL) |
| 5728 | { |
| 5729 | size_t size=0; |
| 5730 | DumpVar(size,D); |
| 5731 | } |
| 5732 | else |
| 5733 | { |
| 5734 | size_t size=s->tsv.len+1; /* include trailing '\0' */ |
| 5735 | DumpVar(size,D); |
| 5736 | DumpBlock(getstr(s),size,D); |
| 5737 | } |
| 5738 | } |
| 5739 | |
| 5740 | #define DumpCode(f,D) DumpVector(f->code,f->sizecode,sizeof(Instruction),D) |
| 5741 |
no test coverage detected