From b8da4ac698dbb219e093b3159e2b5519063b011c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 26 Jan 2010 04:19:00 +0000 Subject: [PATCH] this hook should be const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94508 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetLowering.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }