diff options
author | David Sehr <sehr@chromium.org> | 2012-10-08 09:14:54 -0700 |
---|---|---|
committer | David Sehr <sehr@chromium.org> | 2012-10-08 09:14:54 -0700 |
commit | 5f02cf2d87d25398763886431885d874161f1eb9 (patch) | |
tree | 79127073dbb76e4f49ef1bee7663460e51889847 | |
parent | 9064c6ed338a879722bfeaf306422399be193e56 (diff) |
Re-enable frame pointer optimization on x86
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2854
TEST= pnacl/build.sh test-all
Review URL: https://codereview.chromium.org/11033040
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index ffaf04cea7..bdee1e682d 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -1891,18 +1891,6 @@ X86TargetLowering::LowerFormalArguments(SDValue Chain, Fn->getName() == "main") FuncInfo->setForceFramePointer(true); - // @LOCALMOD-START - if (Subtarget->isTargetNaCl64()) { - FuncInfo->setForceFramePointer(true); - } - // @TODO(pdox): This shouldn't be necessary, but there is a bug - // where hasFP() changes during stack-slot spilling after register - // allocation has allocated ebp. Look into this. - if (Subtarget->isTargetNaCl32()) { - FuncInfo->setForceFramePointer(true); - } - // @LOCALMOD-END - MachineFrameInfo *MFI = MF.getFrameInfo(); bool Is64Bit = Subtarget->is64Bit(); bool IsWindows = Subtarget->isTargetWindows(); |