From: Nadav Rotem Date: Fri, 21 Dec 2012 05:02:12 +0000 (+0000) Subject: Add a missing "virtual" keyword. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=042a9a2666690d0170964df3d0b042b7bc4651d5;p=oota-llvm.git Add a missing "virtual" keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170842 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.h b/lib/Target/X86/X86ISelLowering.h index 72cd3b3f5bc..3d234eba057 100644 --- a/lib/Target/X86/X86ISelLowering.h +++ b/lib/Target/X86/X86ISelLowering.h @@ -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;