From: Chris Lattner Date: Tue, 26 Jan 2010 04:19:00 +0000 (+0000) Subject: this hook should be const. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b8da4ac698dbb219e093b3159e2b5519063b011c;p=oota-llvm.git this hook should be const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94508 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index ab1c241542b..5f379918f63 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -763,7 +763,7 @@ public: virtual const MCExpr * LowerCustomJumpTableEntry(const MachineJumpTableInfo *MJTI, const MachineBasicBlock *MBB, unsigned uid, - MCContext &Ctx) { + MCContext &Ctx) const { assert(0 && "Need to implement this hook if target has custom JTIs"); }