[llvm-commits] [llvm] r170842 - /llvm/trunk/lib/Target/X86/X86ISelLowering.h

Nadav Rotem nrotem at apple.com
Thu Dec 20 21:02:12 PST 2012


Author: nadav
Date: Thu Dec 20 23:02:12 2012
New Revision: 170842

URL: http://llvm.org/viewvc/llvm-project?rev=170842&view=rev
Log:
Add a missing "virtual" keyword.

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.h

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.h?rev=170842&r1=170841&r2=170842&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.h (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.h Thu Dec 20 23:02:12 2012
@@ -960,8 +960,8 @@
     virtual unsigned getVectorInstrCost(unsigned Opcode, Type *Val,
                                         unsigned Index) const;
 
-    unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
-                                Type *CondTy) const;
+    virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
+                                        Type *CondTy) const;
 
     virtual unsigned getCastInstrCost(unsigned Opcode, Type *Dst,
                                       Type *Src) const;





More information about the llvm-commits mailing list