diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2014-03-06 04:55:28 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2014-03-06 04:55:28 +0000 |
| commit | 4b1cb4e3c05e23d84a02c2120d1a5467e6d3e0eb (patch) | |
| tree | 3f4f4454fe569e646af9afa22bf017120cf93ac3 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 73c5236aa869f67605761d120a0fefa4043682ad (diff) | |
| download | clang-4b1cb4e3c05e23d84a02c2120d1a5467e6d3e0eb.tar.gz clang-4b1cb4e3c05e23d84a02c2120d1a5467e6d3e0eb.tar.bz2 clang-4b1cb4e3c05e23d84a02c2120d1a5467e6d3e0eb.tar.xz | |
PGO: don't emit counter increment if no counters have been allocated.
I hit this while debugging another issue where my sources were in an
inconsistent state, so I don't have a testcase. Regardless, this check is
simpler and more direct than checking if the option is enabled.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
