aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-02-17 21:39:27 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-02-17 21:39:27 +0000
commitd3f03e4b50feb6abfa9fec8b0aa705d45134c59e (patch)
tree7b2c77cf419d8993624b4d5ce86361e8f147a8b4
parentd8658616cf8b6ad984974bb764dc9ee4b77499aa (diff)
Fix compilation errors with VS 2005, patch by Aaron Gray.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20231 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 285f810bfb..565a342ef4 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -720,6 +720,7 @@ TargetLowering::LowerVAStart(SDOperand Chain, SelectionDAG &DAG) {
// out.
std::cerr << "Variable arguments handling not implemented on this target!\n";
abort();
+ return std::make_pair(SDOperand(), SDOperand());
}
SDOperand TargetLowering::LowerVAEnd(SDOperand Chain, SDOperand L,
@@ -741,6 +742,7 @@ TargetLowering::LowerVAArgNext(bool isVANext, SDOperand Chain, SDOperand VAList,
// out.
std::cerr << "Variable arguments handling not implemented on this target!\n";
abort();
+ return std::make_pair(SDOperand(), SDOperand());
}
@@ -789,6 +791,7 @@ TargetLowering::LowerFrameReturnAddress(bool isFrameAddr, SDOperand Chain,
SDOperand TargetLowering::LowerOperation(SDOperand Op) {
assert(0 && "LowerOperation not implemented for this target!");
abort();
+ return SDOperand();
}
void SelectionDAGLowering::visitFrameReturnAddress(CallInst &I, bool isFrame) {