summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86WinEHState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/X86/X86WinEHState.cpp')
-rw-r--r--llvm/lib/Target/X86/X86WinEHState.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86WinEHState.cpp b/llvm/lib/Target/X86/X86WinEHState.cpp
index 35b721b4c9f..78d3f646018 100644
--- a/llvm/lib/Target/X86/X86WinEHState.cpp
+++ b/llvm/lib/Target/X86/X86WinEHState.cpp
@@ -179,11 +179,6 @@ bool WinEHStatePass::runOnFunction(Function &F) {
{Int8PtrType, Type::getInt32Ty(TheModule->getContext())},
/*isVarArg=*/true));
- // Disable frame pointer elimination in this function.
- // FIXME: Do the nested handlers need to keep the parent ebp in ebp, or can we
- // use an arbitrary register?
- F.addFnAttr("no-frame-pointer-elim", "true");
-
emitExceptionRegistrationRecord(&F);
// The state numbers calculated here in IR must agree with what we calculate
OpenPOWER on IntegriCloud