Fixed compilation errors on VC++.
[oota-llvm.git] / include / llvm / Target / TargetLowering.h
index e8f8c12ac62556435938c7320c1d58d8f298ec08..79af960c9cc90c76775906fce072448a22bb25cc 100644 (file)
@@ -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
   }