| 328 | void DeclareLocal(GluaDecompileContextP ctx, Function* F, int ixx, std::string value); |
| 329 | |
| 330 | LoopItem* NewLoopItem(StatementType type, int prep, int start, int body, int end, int out) { |
| 331 | auto self = new LoopItem(); |
| 332 | |
| 333 | self->parent = nullptr; |
| 334 | self->child = nullptr; |
| 335 | self->prev = nullptr; |
| 336 | self->next = nullptr; |
| 337 | |
| 338 | self->type = type; |
| 339 | self->prep = prep; |
| 340 | self->start = start; |
| 341 | self->body = body; |
| 342 | self->end = end; |
| 343 | self->out = out; |
| 344 | |
| 345 | self->indent = 0; |
| 346 | self->block = MakeBlockStatement(type, ""); |
| 347 | |
| 348 | return self; |
| 349 | } |
| 350 | |
| 351 | int MatchLoopItem(LoopItem* item, LoopItem* match) { |
| 352 | return ((item->type == match->type) || (match->type == INT_MIN)) |
no test coverage detected