| 83 | } |
| 84 | |
| 85 | void asCByteCode::ClearAll() |
| 86 | { |
| 87 | asCByteInstruction *del = first; |
| 88 | |
| 89 | while( del ) |
| 90 | { |
| 91 | first = del->next; |
| 92 | engine->memoryMgr.FreeByteInstruction(del); |
| 93 | del = first; |
| 94 | } |
| 95 | |
| 96 | first = 0; |
| 97 | last = 0; |
| 98 | |
| 99 | lineNumbers.SetLength(0); |
| 100 | |
| 101 | largestStackUsed = -1; |
| 102 | } |
| 103 | |
| 104 | void asCByteCode::InsertIfNotExists(asCArray<int> &vars, int var) |
| 105 | { |
no test coverage detected