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 /include/clang/Frontend/CodeGenOptions.h | |
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 'include/clang/Frontend/CodeGenOptions.h')
-rw-r--r-- | include/clang/Frontend/CodeGenOptions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Frontend/CodeGenOptions.h b/include/clang/Frontend/CodeGenOptions.h index cede010199..4e17bdce0f 100644 --- a/include/clang/Frontend/CodeGenOptions.h +++ b/include/clang/Frontend/CodeGenOptions.h @@ -76,7 +76,7 @@ public: unsigned OmitLeafFramePointer : 1; /// Set when -momit-leaf-frame-pointer is /// enabled. unsigned OptimizationLevel : 3; /// The -O[0-4] option specified. - unsigned OptimizeSize : 1; /// If -Os is specified. + unsigned OptimizeSize : 2; /// If -Os (==1) or -Oz (==2) is specified. unsigned RelaxAll : 1; /// Relax all machine code instructions. unsigned RelaxedAliasing : 1; /// Set when -fno-strict-aliasing is enabled. unsigned SaveTempLabels : 1; /// Save temporary labels. |