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 }