| 66 | } |
| 67 | |
| 68 | void asCByteCode::Finalize(const asCArray<int> &tempVariableOffsets) |
| 69 | { |
| 70 | temporaryVariables = &tempVariableOffsets; |
| 71 | |
| 72 | // verify the bytecode |
| 73 | PostProcess(); |
| 74 | |
| 75 | // Optimize the code |
| 76 | Optimize(); |
| 77 | |
| 78 | // Resolve jumps |
| 79 | ResolveJumpAddresses(); |
| 80 | |
| 81 | // Build line numbers buffer |
| 82 | ExtractLineNumbers(); |
| 83 | } |
| 84 | |
| 85 | void asCByteCode::ClearAll() |
| 86 | { |