Fix compilation errors with VS 2005, patch by Aaron Gray.

llvm-svn: 20231
This commit is contained in:
Misha Brukman 2005-02-17 21:39:27 +00:00
parent 381dddc90c
commit 73e929f89d
1 changed files with 3 additions and 0 deletions

View File

@ -720,6 +720,7 @@ TargetLowering::LowerVAStart(SDOperand Chain, SelectionDAG &DAG) {
// out. // out.
std::cerr << "Variable arguments handling not implemented on this target!\n"; std::cerr << "Variable arguments handling not implemented on this target!\n";
abort(); abort();
return std::make_pair(SDOperand(), SDOperand());
} }
SDOperand TargetLowering::LowerVAEnd(SDOperand Chain, SDOperand L, SDOperand TargetLowering::LowerVAEnd(SDOperand Chain, SDOperand L,
@ -741,6 +742,7 @@ TargetLowering::LowerVAArgNext(bool isVANext, SDOperand Chain, SDOperand VAList,
// out. // out.
std::cerr << "Variable arguments handling not implemented on this target!\n"; std::cerr << "Variable arguments handling not implemented on this target!\n";
abort(); abort();
return std::make_pair(SDOperand(), SDOperand());
} }
@ -789,6 +791,7 @@ TargetLowering::LowerFrameReturnAddress(bool isFrameAddr, SDOperand Chain,
SDOperand TargetLowering::LowerOperation(SDOperand Op) { SDOperand TargetLowering::LowerOperation(SDOperand Op) {
assert(0 && "LowerOperation not implemented for this target!"); assert(0 && "LowerOperation not implemented for this target!");
abort(); abort();
return SDOperand();
} }
void SelectionDAGLowering::visitFrameReturnAddress(CallInst &I, bool isFrame) { void SelectionDAGLowering::visitFrameReturnAddress(CallInst &I, bool isFrame) {