| 217 | } |
| 218 | |
| 219 | void DecodedOpCache::remove(U32 address, U32 len, bool becauseOfWrite) { |
| 220 | DecodedOp* prev = getPreviousOpAndRemoveIfOverlapping(address); |
| 221 | if (prev) { |
| 222 | prev->next = DecodedOp::allocDone(); |
| 223 | } |
| 224 | removeStartAt(address, len, becauseOfWrite); |
| 225 | } |
| 226 | |
| 227 | void DecodedOpCache::removeAll() { |
| 228 | for (U32 firstIndex = 0; firstIndex < FIRST_INDEX_SIZE; firstIndex++) { |