diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-04-29 22:49:50 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-04-29 22:49:50 +0000 |
commit | a0fa203f04235cb6d05eeb8cea3392a01aa7571b (patch) | |
tree | 9a3822857914a10ce31324c43495b30f0897289c /lib/Driver/Tools.cpp | |
parent | 73a6f8e8ad2174fb70cfb4c7d7afe424cfe8a147 (diff) |
Add -Oz option and use it to set the inline threshold to 25.
Radar 9333566. Patch by Chad Rosier!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 9f8a87b3ac..b4693010e1 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -1309,10 +1309,6 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, else if (A->getOption().matches(options::OPT_O) && A->getValue(Args)[0] == '\0') CmdArgs.push_back("-O2"); - else if (A->getOption().matches(options::OPT_O) && - A->getValue(Args)[0] == 'z' && - A->getValue(Args)[1] == '\0') - CmdArgs.push_back("-Os"); else A->render(Args, CmdArgs); } |