We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f31e5 commit 53f7befCopy full SHA for 53f7bef
llvm/lib/CodeGen/MachineFunction.cpp
@@ -946,9 +946,7 @@ void MachineFunction::eraseAdditionalCallInfo(const MachineInstr *MI) {
946
if (CSIt != CallSitesInfo.end())
947
CallSitesInfo.erase(CSIt);
948
949
- CalledGlobalsMap::iterator CGIt = CalledGlobalsInfo.find(CallMI);
950
- if (CGIt != CalledGlobalsInfo.end())
951
- CalledGlobalsInfo.erase(CGIt);
+ CalledGlobalsInfo.erase(CallMI);
952
}
953
954
void MachineFunction::copyAdditionalCallInfo(const MachineInstr *Old,
0 commit comments