aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-01-26 08:27:24 +0000
committerBill Wendling <isanbard@gmail.com>2010-01-26 08:27:24 +0000
commitee49ad79fd437b2df04f7e25f08db5dc39324578 (patch)
tree5b9bf232ac9c3cc47330cd9fb748e4308dc177f7
parentf1214cbf3c2d151d3a2353d82143da186313a42a (diff)
Remove warning about non return on a non-void function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94532 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 9b078ef1b6..aab70cb574 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -761,6 +761,7 @@ public:
const MachineBasicBlock *MBB, unsigned uid,
MCContext &Ctx) const {
assert(0 && "Need to implement this hook if target has custom JTIs");
+ return 0;
}
/// getPICJumpTableRelocaBase - Returns relocation base for the given PIC