diff options
Diffstat (limited to 'llvm/lib/ProfileData/PGOCtxProfReader.cpp')
| -rw-r--r-- | llvm/lib/ProfileData/PGOCtxProfReader.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/ProfileData/PGOCtxProfReader.cpp b/llvm/lib/ProfileData/PGOCtxProfReader.cpp index 8354e30bd306..496854e63c56 100644 --- a/llvm/lib/ProfileData/PGOCtxProfReader.cpp +++ b/llvm/lib/ProfileData/PGOCtxProfReader.cpp @@ -44,14 +44,6 @@ PGOCtxProfContext::getOrEmplace(uint32_t Index, GlobalValue::GUID G, return Iter->second; } -void PGOCtxProfContext::getContainedGuids( - DenseSet<GlobalValue::GUID> &Guids) const { - Guids.insert(GUID); - for (const auto &[_, Callsite] : Callsites) - for (const auto &[_, Callee] : Callsite) - Callee.getContainedGuids(Guids); -} - Expected<BitstreamEntry> PGOCtxProfileReader::advance() { return Cursor.advance(BitstreamCursor::AF_DontAutoprocessAbbrevs); } |
