diff options
author | Jim Grosbach <grosbach@apple.com> | 2009-08-17 20:25:04 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2009-08-17 20:25:04 +0000 |
commit | 29626642271ae810dd526de8afa151484452abe0 (patch) | |
tree | 3b0f744894c13d189256d84caa2d374dbbd1d134 /lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | ae68a19ef9d16fc1d331b289b62fb7c759bfdb99 (diff) |
Remove a bit more cruft from the sjlj moving to a backend pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index ebcc2a5a5d..1ba63c0180 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -4084,11 +4084,6 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { Offset)); return 0; } - case Intrinsic::eh_sjlj_callsite: { - MachineFunction &MF = DAG.getMachineFunction(); - MF.setCallSiteIndex(cast<ConstantSDNode>(getValue(I.getOperand(1)))->getZExtValue()); - return 0; - } case Intrinsic::convertff: case Intrinsic::convertfsi: case Intrinsic::convertfui: @@ -4452,14 +4447,10 @@ void SelectionDAGLowering::LowerCallTo(CallSite CS, SDValue Callee, } if (LandingPad && MMI) { - MachineFunction &MF = DAG.getMachineFunction(); // Insert a label before the invoke call to mark the try range. This can be // used to detect deletion of the invoke via the MachineModuleInfo. BeginLabel = MMI->NextLabelID(); - // Map this landing pad to the current call site entry - MF.setLandingPadCallSiteIndex(LandingPad, MF.getCallSiteIndex()); - // Both PendingLoads and PendingExports must be flushed here; // this call might not return. (void)getRoot(); |