Skip to content

Commit 1727af2

Browse files
author
git apple-llvm automerger
committed
Merge commit '1256ca04c206' from llvm.org/main into next
2 parents 111f644 + 1256ca0 commit 1727af2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/CodeGen/MachineFunction.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,9 +1014,7 @@ void MachineFunction::eraseAdditionalCallInfo(const MachineInstr *MI) {
10141014
if (CSIt != CallSitesInfo.end())
10151015
CallSitesInfo.erase(CSIt);
10161016

1017-
CalledGlobalsMap::iterator CGIt = CalledGlobalsInfo.find(CallMI);
1018-
if (CGIt != CalledGlobalsInfo.end())
1019-
CalledGlobalsInfo.erase(CGIt);
1017+
CalledGlobalsInfo.erase(CallMI);
10201018
}
10211019

10221020
void MachineFunction::copyAdditionalCallInfo(const MachineInstr *Old,

0 commit comments

Comments
 (0)