From ece96f5713e14b705d415eb95fe57c5fff841626 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Sat, 5 Mar 2011 08:39:45 +0000 Subject: Missing "virtual" keyword. Jakob's review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127070 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetInstrInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 13bcee652f..c903f3153e 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -643,7 +643,7 @@ public: /// isHighLatencyDef - Return true if this opcode has high latency to its /// result. - bool isHighLatencyDef(int opc) const { return false; } + virtual bool isHighLatencyDef(int opc) const { return false; } /// hasHighOperandLatency - Compute operand latency between a def of 'Reg' /// and an use in the current loop, return true if the target considered -- cgit v1.2.3-18-g5258