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 41b0431 commit f6ac7c2Copy full SHA for f6ac7c2
llvm/lib/Target/Mips/MipsAsmPrinter.cpp
@@ -81,12 +81,8 @@ bool MipsAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
81
82
MipsFI = MF.getInfo<MipsFunctionInfo>();
83
if (Subtarget->inMips16Mode())
84
- for (const auto &I : MipsFI->StubsNeeded) {
85
- const char *Symbol = I.first;
86
- const Mips16HardFloatInfo::FuncSignature *Signature = I.second;
87
- if (StubsNeeded.find(Symbol) == StubsNeeded.end())
88
- StubsNeeded[Symbol] = Signature;
89
- }
+ for (const auto &I : MipsFI->StubsNeeded)
+ StubsNeeded.insert(I);
90
MCP = MF.getConstantPool();
91
92
// In NaCl, all indirect jump targets must be aligned to bundle size.
0 commit comments