mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-03 12:18:00 +00:00
ProfileData: Don't forward declare ComputeHash and make it static inline
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206663 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -243,6 +243,11 @@ template class RawInstrProfReader<uint32_t>;
|
||||
template class RawInstrProfReader<uint64_t>;
|
||||
}
|
||||
|
||||
InstrProfLookupTrait::hash_value_type
|
||||
InstrProfLookupTrait::ComputeHash(StringRef K) {
|
||||
return IndexedInstrProf::ComputeHash(HashType, K);
|
||||
}
|
||||
|
||||
bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) {
|
||||
if (DataBuffer.getBufferSize() < 8)
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user