Fix "MIParser::getIRValue(unsigned int)’ defined but not used" warning. NFCI.

This commit is contained in:
Simon Pilgrim 2020-01-14 11:58:54 +00:00
parent 334e41984e
commit c3fc55b29b

View File

@ -545,8 +545,6 @@ private:
const BasicBlock *getIRBlock(unsigned Slot);
const BasicBlock *getIRBlock(unsigned Slot, const Function &F);
const Value *getIRValue(unsigned Slot);
/// Get or create an MCSymbol for a given name.
MCSymbol *getOrCreateMCSymbol(StringRef Name);
@ -3139,10 +3137,6 @@ const BasicBlock *MIParser::getIRBlock(unsigned Slot, const Function &F) {
return getIRBlockFromSlot(Slot, CustomSlots2BasicBlocks);
}
const Value *MIParser::getIRValue(unsigned Slot) {
return PFS.getIRValue(Slot);
}
MCSymbol *MIParser::getOrCreateMCSymbol(StringRef Name) {
// FIXME: Currently we can't recognize temporary or local symbols and call all
// of the appropriate forms to create them. However, this handles basic cases