From: Hartmut Kaiser Date: Wed, 7 Nov 2007 19:33:31 +0000 (+0000) Subject: Fixed compilation errors on VC++. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a1dc96edd28340bc6e1971835bf09610cc7ecdb3;p=oota-llvm.git Fixed compilation errors on VC++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43836 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index e8f8c12ac62..79af960c9cc 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -848,6 +848,7 @@ public: virtual const TargetSubtarget *getSubtarget() { assert(0 && "Not Implemented"); + return NULL; // this is here to silence compiler errors } //===--------------------------------------------------------------------===// // Lowering methods - These methods must be implemented by targets so that @@ -891,6 +892,7 @@ public: SDOperand Source, unsigned Size, unsigned Align, SelectionDAG &DAG) { assert(0 && "Not Implemented"); + return SDOperand(); // this is here to silence compiler errors }