From 6a09098cca6938dbfdc28e26fc45d626342816ac Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Mon, 29 Oct 2012 17:27:39 +0000 Subject: 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 --- include/llvm/Analysis/ProfileDataLoader.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/llvm') 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(); } -- cgit v1.1