| 166 | } |
| 167 | |
| 168 | void DecodedOpCache::clear() { |
| 169 | removeAll(); |
| 170 | for (auto& it : pendingDeallocs) { |
| 171 | for (auto& op : it.second) { |
| 172 | op->dealloc(); |
| 173 | } |
| 174 | } |
| 175 | pendingDeallocs.clear(); |
| 176 | } |
| 177 | |
| 178 | void DecodedOpCache::clearPendingDeallocs(U32 threadId) { |
| 179 | if (pendingDeallocs.count(threadId)) { |
no test coverage detected