summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86WinEHState.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-12-15 21:41:34 +0000
committerReid Kleckner <rnk@google.com>2015-12-15 21:41:34 +0000
commitd7045faa10eae14a632f638f4ba3a6676758f5f2 (patch)
tree2e9412e10d0dd6abefdcac17ba1a9a40f551c4c8 /llvm/lib/Target/X86/X86WinEHState.cpp
parent6d3de1231517dc20994bee5fc9ad09a2d2752025 (diff)
downloadbcm5719-llvm-d7045faa10eae14a632f638f4ba3a6676758f5f2.tar.gz
bcm5719-llvm-d7045faa10eae14a632f638f4ba3a6676758f5f2.zip
[WinEH] Remove unused intrinsic llvm.x86.seh.restoreframe
We can clean this up now that we have the X86 CATCHRET instruction to restore the FP, SP, and BP. llvm-svn: 255677
Diffstat (limited to 'llvm/lib/Target/X86/X86WinEHState.cpp')
-rw-r--r--llvm/lib/Target/X86/X86WinEHState.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86WinEHState.cpp b/llvm/lib/Target/X86/X86WinEHState.cpp
index 7ceb41662ad..dce94a9e9ef 100644
--- a/llvm/lib/Target/X86/X86WinEHState.cpp
+++ b/llvm/lib/Target/X86/X86WinEHState.cpp
@@ -87,7 +87,6 @@ private:
Function *FrameRecover = nullptr;
Function *FrameAddress = nullptr;
Function *FrameEscape = nullptr;
- Function *RestoreFrame = nullptr;
// Per-function state
EHPersonality Personality = EHPersonality::Unknown;
@@ -120,8 +119,6 @@ bool WinEHStatePass::doInitialization(Module &M) {
FrameEscape = Intrinsic::getDeclaration(TheModule, Intrinsic::localescape);
FrameRecover = Intrinsic::getDeclaration(TheModule, Intrinsic::localrecover);
FrameAddress = Intrinsic::getDeclaration(TheModule, Intrinsic::frameaddress);
- RestoreFrame =
- Intrinsic::getDeclaration(TheModule, Intrinsic::x86_seh_restoreframe);
return false;
}
OpenPOWER on IntegriCloud