summaryrefslogtreecommitdiffstats
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
commitf8f8ba8a47787209f125a3e859d6c803beeffbc3 (patch)
tree2354c1487be063786efef447d9608791c19aacf1
parent5325efc5afff641958f10401d5ec93dcc9882bc5 (diff)
downloadbcm5719-llvm-f8f8ba8a47787209f125a3e859d6c803beeffbc3.tar.gz
bcm5719-llvm-f8f8ba8a47787209f125a3e859d6c803beeffbc3.zip
this hook should be const.
llvm-svn: 94508
-rw-r--r--llvm/include/llvm/Target/TargetLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h
index ab1c241542b..5f379918f63 100644
--- a/llvm/include/llvm/Target/TargetLowering.h
+++ b/llvm/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");
}
OpenPOWER on IntegriCloud