| 242 | } |
| 243 | |
| 244 | void** CodeCache::findImport(ImportId id) { |
| 245 | if (!_imports_patchable) { |
| 246 | makeImportsPatchable(); |
| 247 | } |
| 248 | return _imports[id][PRIMARY]; |
| 249 | } |
| 250 | |
| 251 | void CodeCache::patchImport(ImportId id, void* hook_func) { |
| 252 | if (!_imports_patchable && !makeImportsPatchable()) { |
no outgoing calls
no test coverage detected