mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 23:00:36 +00:00
Fix "MIParser::getIRValue(unsigned int)’ defined but not used" warning. NFCI.
This commit is contained in:
parent
334e41984e
commit
c3fc55b29b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user