Skip to content

Commit bf700c3

Browse files
[MemProf] Remove dead code (NFC) (llvm#120156)
Remove unused collection of context size information that was likely leftover from debugging / testing.
1 parent f087899 commit bf700c3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Analysis/MemoryProfileInfo.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ void CallStackTrie::addCallStack(
164164
assert(Curr);
165165
Curr->ContextSizeInfo.insert(Curr->ContextSizeInfo.end(),
166166
ContextSizeInfo.begin(), ContextSizeInfo.end());
167-
std::vector<ContextTotalSize> AllContextSizeInfo;
168-
collectContextSizeInfo(Curr, AllContextSizeInfo);
169167
}
170168

171169
void CallStackTrie::addCallStack(MDNode *MIB) {

0 commit comments

Comments
 (0)