From: Misha Brukman Date: Thu, 17 Feb 2005 21:39:27 +0000 (+0000) Subject: Fix compilation errors with VS 2005, patch by Aaron Gray. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d3f03e4b50feb6abfa9fec8b0aa705d45134c59e;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 285f810bfbe..565a342ef41 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) {