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 3d97d71 commit 1256ca0Copy full SHA for 1256ca0
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