Add a missing "virtual" keyword.
authorNadav Rotem <nrotem@apple.com>
Fri, 21 Dec 2012 05:02:12 +0000 (05:02 +0000)
committerNadav Rotem <nrotem@apple.com>
Fri, 21 Dec 2012 05:02:12 +0000 (05:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170842 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.h

index 72cd3b3f5bc139fdbbd4d2c5bc1abfd9afe85019..3d234eba057ba9c433297d7e19a1f45addc2ac85 100644 (file)
@@ -960,8 +960,8 @@ namespace llvm {
     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;