summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorAndreas Neustifter <astifter-llvm@gmx.at>2009-09-09 12:48:26 +0000
committerAndreas Neustifter <astifter-llvm@gmx.at>2009-09-09 12:48:26 +0000
commit1f3b00272a4aa5a69bffb018bc449c84167b6bf8 (patch)
tree8c71742ddeb3610c49001fe9d01550c65457b818 /include/llvm
parentd8b0630027ee12502ee16932ff22b865ed738594 (diff)
downloadllvm-1f3b00272a4aa5a69bffb018bc449c84167b6bf8.tar.gz
llvm-1f3b00272a4aa5a69bffb018bc449c84167b6bf8.tar.bz2
llvm-1f3b00272a4aa5a69bffb018bc449c84167b6bf8.tar.xz
Updated ProfileInfo to have clean seperation between different sentinels.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Analysis/ProfileInfoLoader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ProfileInfoLoader.h b/include/llvm/Analysis/ProfileInfoLoader.h
index e74ea3c7d3..de75d4892d 100644
--- a/include/llvm/Analysis/ProfileInfoLoader.h
+++ b/include/llvm/Analysis/ProfileInfoLoader.h
@@ -42,6 +42,8 @@ public:
ProfileInfoLoader(const char *ToolName, const std::string &Filename,
Module &M);
+ static const unsigned Uncounted = ~0U;
+
unsigned getNumExecutions() const { return CommandLines.size(); }
const std::string &getExecution(unsigned i) const { return CommandLines[i]; }