diff options
author | Bob Wilson <bob.wilson@apple.com> | 2012-10-29 17:27:39 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2012-10-29 17:27:39 +0000 |
commit | 6a09098cca6938dbfdc28e26fc45d626342816ac (patch) | |
tree | ef1f6ecc54eeb8d949432b017cf2f637168b9d43 /include/llvm | |
parent | d233b78760e481a9602266f8376eb1189c58bc9a (diff) | |
download | external_llvm-6a09098cca6938dbfdc28e26fc45d626342816ac.zip external_llvm-6a09098cca6938dbfdc28e26fc45d626342816ac.tar.gz external_llvm-6a09098cca6938dbfdc28e26fc45d626342816ac.tar.bz2 |
Remove code to saturate profile counts.
We may need to change the way profile counter values are stored, but
saturation is the wrong thing to do. Just remove it for now.
Patch by Alastair Murray!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Analysis/ProfileDataLoader.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/Analysis/ProfileDataLoader.h b/include/llvm/Analysis/ProfileDataLoader.h index bec9fac..9efbafc 100644 --- a/include/llvm/Analysis/ProfileDataLoader.h +++ b/include/llvm/Analysis/ProfileDataLoader.h @@ -115,9 +115,6 @@ public: /// been counted yet. static const unsigned Uncounted; - /// The maximum value that can be stored in a profiling counter. - static const unsigned MaxCount; - /// getNumExecutions - Return the number of times the target program was run /// to generate this profiling data. unsigned getNumExecutions() const { return CommandLines.size(); } |