aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-12-19 21:53:12 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-12-19 21:53:12 +0000
commit638905d90cf8e2601b5609e549e3fca6676fff10 (patch)
tree29dec761451d69197781221a9b3b71b7d3f40277
parent59eb8056e0ea8c5c39b3439f97b88565aed85040 (diff)
downloadexternal_llvm-638905d90cf8e2601b5609e549e3fca6676fff10.zip
external_llvm-638905d90cf8e2601b5609e549e3fca6676fff10.tar.gz
external_llvm-638905d90cf8e2601b5609e549e3fca6676fff10.tar.bz2
Add "using" to silence warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146913 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetInstrInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index fc7c51a..f46efa0 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -839,9 +839,11 @@ public:
virtual bool isSchedulingBoundary(const MachineInstr *MI,
const MachineBasicBlock *MBB,
const MachineFunction &MF) const;
+ using TargetInstrInfo::getOperandLatency;
virtual int getOperandLatency(const InstrItineraryData *ItinData,
SDNode *DefNode, unsigned DefIdx,
SDNode *UseNode, unsigned UseIdx) const;
+ using TargetInstrInfo::getInstrLatency;
virtual int getInstrLatency(const InstrItineraryData *ItinData,
SDNode *Node) const;