Skip to content

Commit a790e98

Browse files
Address comments.
1 parent 4dba136 commit a790e98

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Instrumentation/MemProfiler.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,8 +993,7 @@ readMemprof(Module &M, Function &F, IndexedInstrProfReader *MemProfReader,
993993
unsigned Idx = 0;
994994
for (auto &StackFrame : CS) {
995995
uint64_t StackId = computeStackId(StackFrame);
996-
LocHashToCallSites[StackId].insert(
997-
ArrayRef<Frame>(CS).drop_front(Idx++));
996+
LocHashToCallSites[StackId].insert(ArrayRef<Frame>(CS).drop_front(Idx++));
998997
ProfileHasColumns |= StackFrame.Column;
999998
// Once we find this function, we can stop recording.
1000999
if (StackFrame.Function == FuncGUID)

0 commit comments

Comments
 (0)