| 122 | } |
| 123 | |
| 124 | CodeBlob* CodeCache::findBlobByAddress(const void* address) { |
| 125 | for (int i = 0; i < _count; i++) { |
| 126 | if (address >= _blobs[i]._start && address < _blobs[i]._end) { |
| 127 | return &_blobs[i]; |
| 128 | } |
| 129 | } |
| 130 | return NULL; |
| 131 | } |
| 132 | |
| 133 | const char* CodeCache::binarySearch(const void* address) { |
| 134 | int low = 0; |