diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-14 11:58:54 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-14 11:58:54 +0000 |
commit | 31aed2e0dad25d43039a9b933b1b95fbdeb27704 (patch) | |
tree | 5173df06b45ab0091439fa58cda6de756adce58c | |
parent | c05a11108b9a9deb266c3c1758677462df61e05e (diff) | |
download | bcm5719-llvm-31aed2e0dad25d43039a9b933b1b95fbdeb27704.tar.gz bcm5719-llvm-31aed2e0dad25d43039a9b933b1b95fbdeb27704.zip |
Fix "MIParser::getIRValue(unsigned int)’ defined but not used" warning. NFCI.
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/MIParser.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.cpp b/llvm/lib/CodeGen/MIRParser/MIParser.cpp index b72c830d8e2..63ed91d6719 100644 --- a/llvm/lib/CodeGen/MIRParser/MIParser.cpp +++ b/llvm/lib/CodeGen/MIRParser/MIParser.cpp @@ -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 |