[llvm-commits] [llvm] r127070 - /llvm/trunk/include/llvm/Target/TargetInstrInfo.h

Andrew Trick atrick at apple.com
Sat Mar 5 00:39:45 PST 2011


Author: atrick
Date: Sat Mar  5 02:39:45 2011
New Revision: 127070

URL: http://llvm.org/viewvc/llvm-project?rev=127070&view=rev
Log:
Missing "virtual" keyword. Jakob's review.

Modified:
    llvm/trunk/include/llvm/Target/TargetInstrInfo.h

Modified: llvm/trunk/include/llvm/Target/TargetInstrInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetInstrInfo.h?rev=127070&r1=127069&r2=127070&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetInstrInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetInstrInfo.h Sat Mar  5 02:39:45 2011
@@ -643,7 +643,7 @@
 
   /// 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





More information about the llvm-commits mailing list