aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 04:19:00 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 04:19:00 +0000
commitb8da4ac698dbb219e093b3159e2b5519063b011c (patch)
treebe39c0d7339a37a27c75a8d05d0e1f6de39963ae
parent153f1ebeb8fd394e5b11b27edde9472de0cbb57f (diff)
this hook should be const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94508 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index ab1c241542..5f379918f6 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");
}