| 164 | |
| 165 | |
| 166 | static void DumpFunction (const Proto *f, TString *psource, DumpState *D) { |
| 167 | if (D->strip || f->source == psource) |
| 168 | DumpString(NULL, D); /* no debug info or same source as its parent */ |
| 169 | else |
| 170 | DumpString(f->source, D); |
| 171 | DumpInt(f->linedefined, D); |
| 172 | DumpInt(f->lastlinedefined, D); |
| 173 | DumpByte(f->numparams, D); |
| 174 | DumpByte(f->is_vararg, D); |
| 175 | DumpByte(f->maxstacksize, D); |
| 176 | DumpCode(f, D); |
| 177 | DumpConstants(f, D); |
| 178 | DumpUpvalues(f, D); |
| 179 | DumpProtos(f, D); |
| 180 | DumpDebug(f, D); |
| 181 | } |
| 182 | |
| 183 | |
| 184 | static void DumpHeader (DumpState *D) { |
no test coverage detected