| 8505 | U32 compiledBlockCount; |
| 8506 | |
| 8507 | void addBlock(char* func, U32 crc, char* bytes, U32 byteLen) { |
| 8508 | int i = compiledBlockCount; |
| 8509 | |
| 8510 | while (i>0 && crc<compiledBlocks[i-1].crc) { |
| 8511 | compiledBlocks[i] = compiledBlocks[i-1]; |
| 8512 | i--; |
| 8513 | } |
| 8514 | compiledBlocks[i].crc = crc; |
| 8515 | compiledBlocks[i].bytes = bytes; |
| 8516 | compiledBlocks[i].byteLen = byteLen; |
| 8517 | strcpy(compiledBlocks[i].func, func); |
| 8518 | compiledBlockCount++; |
| 8519 | } |
| 8520 | |
| 8521 | BOOL doesBlockExist(U32 crc, char* bytes, U32 byteLen) { |
| 8522 | U32 i; |