[llvm-commits] [llvm] r94508 - /llvm/trunk/include/llvm/Target/TargetLowering.h
Chris Lattner
sabre at nondot.org
Mon Jan 25 20:19:01 PST 2010
Author: lattner
Date: Mon Jan 25 22:19:00 2010
New Revision: 94508
URL: http://llvm.org/viewvc/llvm-project?rev=94508&view=rev
Log:
this hook should be const.
Modified:
llvm/trunk/include/llvm/Target/TargetLowering.h
Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=94508&r1=94507&r2=94508&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Mon Jan 25 22:19:00 2010
@@ -763,7 +763,7 @@
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");
}
More information about the llvm-commits
mailing list