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

Hartmut Kaiser hartmut.kaiser at gmail.com
Wed Nov 7 11:33:31 PST 2007


Author: hkaiser
Date: Wed Nov  7 13:33:31 2007
New Revision: 43836

URL: http://llvm.org/viewvc/llvm-project?rev=43836&view=rev
Log:
Fixed compilation errors on VC++.

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=43836&r1=43835&r2=43836&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Wed Nov  7 13:33:31 2007
@@ -848,6 +848,7 @@
 
   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 @@
                                       SDOperand Source, unsigned Size,
                                       unsigned Align, SelectionDAG &DAG) {
     assert(0 && "Not Implemented");
+    return SDOperand();   // this is here to silence compiler errors
   }
 
 





More information about the llvm-commits mailing list