Reapply 55904: Unbreak and fix indentation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55958 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2008-09-08 21:13:56 +00:00
parent a177871c8a
commit a0e8a1e5d3

View File

@ -3121,10 +3121,9 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
return 0; return 0;
} }
case Intrinsic::eh_return: { case Intrinsic::eh_return_i32:
MachineModuleInfo *MMI = DAG.getMachineModuleInfo(); case Intrinsic::eh_return_i64:
if (MachineModuleInfo *MMI = DAG.getMachineModuleInfo()) {
if (MMI) {
MMI->setCallsEHReturn(true); MMI->setCallsEHReturn(true);
DAG.setRoot(DAG.getNode(ISD::EH_RETURN, DAG.setRoot(DAG.getNode(ISD::EH_RETURN,
MVT::Other, MVT::Other,
@ -3136,15 +3135,12 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
} }
return 0; return 0;
} case Intrinsic::eh_unwind_init:
case Intrinsic::eh_unwind_init: {
if (MachineModuleInfo *MMI = DAG.getMachineModuleInfo()) { if (MachineModuleInfo *MMI = DAG.getMachineModuleInfo()) {
MMI->setCallsUnwindInit(true); MMI->setCallsUnwindInit(true);
} }
return 0; return 0;
}
case Intrinsic::eh_dwarf_cfa: { case Intrinsic::eh_dwarf_cfa: {
MVT VT = getValue(I.getOperand(1)).getValueType(); MVT VT = getValue(I.getOperand(1)).getValueType();