aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-03-05 08:39:45 +0000
committerAndrew Trick <atrick@apple.com>2011-03-05 08:39:45 +0000
commitece96f5713e14b705d415eb95fe57c5fff841626 (patch)
tree4753e4470c27d9871f939452f210253a15830d64
parent7c8d351d997655eb457bac5f810c219a9089594c (diff)
Missing "virtual" keyword. Jakob's review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127070 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetInstrInfo.h2
1 files changed, 1 insertions, 1 deletions
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