[llvm-commits] [llvm] r94532 - /llvm/trunk/include/llvm/Target/TargetLowering.h

Bill Wendling isanbard at gmail.com
Tue Jan 26 00:27:25 PST 2010


Author: void
Date: Tue Jan 26 02:27:24 2010
New Revision: 94532

URL: http://llvm.org/viewvc/llvm-project?rev=94532&view=rev
Log:
Remove warning about non return on a non-void function.

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=94532&r1=94531&r2=94532&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Tue Jan 26 02:27:24 2010
@@ -761,6 +761,7 @@
                             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





More information about the llvm-commits mailing list