Remove the code in clang that is using TargetOptions::NoFramePointerElim.

This is the clang side change following r238244.

llvm-svn: 238245
This commit is contained in:
Akira Hatanaka
2015-05-26 20:18:26 +00:00
parent e36505c7f5
commit 08d70edec2

View File

@@ -491,15 +491,6 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) {
if (CodeGenOpts.CompressDebugSections)
Options.CompressDebugSections = true;
// Set frame pointer elimination mode.
if (!CodeGenOpts.DisableFPElim) {
Options.NoFramePointerElim = false;
} else if (CodeGenOpts.OmitLeafFramePointer) {
Options.NoFramePointerElim = false;
} else {
Options.NoFramePointerElim = true;
}
if (CodeGenOpts.UseInitArray)
Options.UseInitArray = true;