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"); }