diff options
author | Andreas Neustifter <astifter-llvm@gmx.at> | 2009-09-09 12:48:26 +0000 |
---|---|---|
committer | Andreas Neustifter <astifter-llvm@gmx.at> | 2009-09-09 12:48:26 +0000 |
commit | 1f3b00272a4aa5a69bffb018bc449c84167b6bf8 (patch) | |
tree | 8c71742ddeb3610c49001fe9d01550c65457b818 /include/llvm | |
parent | d8b0630027ee12502ee16932ff22b865ed738594 (diff) | |
download | llvm-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.h | 2 |
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]; } |