this hook should be const.
authorChris Lattner <sabre@nondot.org>
Tue, 26 Jan 2010 04:19:00 +0000 (04:19 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 26 Jan 2010 04:19:00 +0000 (04:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94508 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index ab1c241542b8694c3de92aa8dce340db932a8cff..5f379918f63ca4a0356b2ca0f6bc3aad490cc1b5 100644 (file)
@@ -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");
   }