| 427 | } |
| 428 | |
| 429 | inline U32 emitFix(FixType type) |
| 430 | { |
| 431 | U32 *ptr = (U32*)allocCode(4); |
| 432 | *ptr = (U32)type; |
| 433 | |
| 434 | #ifdef DEBUG_CODESTREAM |
| 435 | printf("code[%u] = [FIX:%u]\n", mCodePos, (U32)type); |
| 436 | #endif |
| 437 | |
| 438 | mFixList.push_back(mCodePos); |
| 439 | mFixList.push_back((U32)type); |
| 440 | return mCodePos++; |
| 441 | } |
| 442 | |
| 443 | inline void pushFixScope(bool isLoop) |
| 444 | { |
no test coverage detected