| 112 | } |
| 113 | |
| 114 | CodeBlob* CodeCache::findBlob(const char* name) { |
| 115 | for (int i = 0; i < _count; i++) { |
| 116 | const char* blob_name = _blobs[i]._name; |
| 117 | if (blob_name != NULL && strcmp(blob_name, name) == 0) { |
| 118 | return &_blobs[i]; |
| 119 | } |
| 120 | } |
| 121 | return NULL; |
| 122 | } |
| 123 | |
| 124 | CodeBlob* CodeCache::findBlobByAddress(const void* address) { |
| 125 | for (int i = 0; i < _count; i++) { |
nothing calls this directly
no outgoing calls
no test coverage detected