aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Kaiser <hartmut.kaiser@gmail.com>2007-11-07 19:33:31 +0000
committerHartmut Kaiser <hartmut.kaiser@gmail.com>2007-11-07 19:33:31 +0000
commita1dc96edd28340bc6e1971835bf09610cc7ecdb3 (patch)
treeba1bb0dda088ab559c6593032c67fe02cc5f6c2c
parentc47dfdde2458f97d2ef8342b73b526579424c381 (diff)
Fixed compilation errors on VC++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43836 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetLowering.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index e8f8c12ac6..79af960c9c 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
}