diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-07-25 00:32:41 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-07-25 00:32:41 +0000 |
| commit | cab4a09d69e7cc5c2c64ec1c3d126c4d825d2b83 (patch) | |
| tree | 41fef71559d4454a073ca5f58dee487097d81282 /lib/CodeGen/BackendUtil.cpp | |
| parent | 3b477597fa1184b223ad5ad9dfe1c870b8aa1ac5 (diff) | |
| download | clang-cab4a09d69e7cc5c2c64ec1c3d126c4d825d2b83.tar.gz clang-cab4a09d69e7cc5c2c64ec1c3d126c4d825d2b83.tar.bz2 clang-cab4a09d69e7cc5c2c64ec1c3d126c4d825d2b83.tar.xz | |
Replace the "NoFramePointerElimNonLeaf" target option with a function attribute.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
| -rw-r--r-- | lib/CodeGen/BackendUtil.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 04355e252e..1bf49184fc 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -412,13 +412,10 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { // Set frame pointer elimination mode. if (!CodeGenOpts.DisableFPElim) { Options.NoFramePointerElim = false; - Options.NoFramePointerElimNonLeaf = false; } else if (CodeGenOpts.OmitLeafFramePointer) { Options.NoFramePointerElim = false; - Options.NoFramePointerElimNonLeaf = true; } else { Options.NoFramePointerElim = true; - Options.NoFramePointerElimNonLeaf = true; } if (CodeGenOpts.UseInitArray) |
