diff options
author | Kazu Hirata <kazu@google.com> | 2022-06-13 23:08:49 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-06-13 23:08:49 -0700 |
commit | a2232da2a5d207126e1777fb33b61a16109ae38e (patch) | |
tree | 3bab2e404d2a04b1b2c0af2fff66e0c288bc52fa /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 34ff78c5cfc7192aa3bf3c40e2c8e13006e3ca99 (diff) | |
download | llvm-a2232da2a5d207126e1777fb33b61a16109ae38e.zip llvm-a2232da2a5d207126e1777fb33b61a16109ae38e.tar.gz llvm-a2232da2a5d207126e1777fb33b61a16109ae38e.tar.bz2 |
[CodeGen] Remove addSEHCatchHandler and addSEHCleanupHandler (NFC)
The last uses of these functions are removed on Oct 9, 2015 in commit
14e773500e036de57ed0ca4af6fddc1f8b6767d8.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index e067799..eabcb2b 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -856,25 +856,6 @@ void MachineFunction::addCleanup(MachineBasicBlock *LandingPad) { LP.TypeIds.push_back(0); } -void MachineFunction::addSEHCatchHandler(MachineBasicBlock *LandingPad, - const Function *Filter, - const BlockAddress *RecoverBA) { - LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad); - SEHHandler Handler; - Handler.FilterOrFinally = Filter; - Handler.RecoverBA = RecoverBA; - LP.SEHHandlers.push_back(Handler); -} - -void MachineFunction::addSEHCleanupHandler(MachineBasicBlock *LandingPad, - const Function *Cleanup) { - LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad); - SEHHandler Handler; - Handler.FilterOrFinally = Cleanup; - Handler.RecoverBA = nullptr; - LP.SEHHandlers.push_back(Handler); -} - void MachineFunction::setCallSiteLandingPad(MCSymbol *Sym, ArrayRef<unsigned> Sites) { LPadToCallSiteMap[Sym].append(Sites.begin(), Sites.end()); |