aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Neustifter <astifter@gmx.at>2009-09-09 12:48:26 +0000
committerAndreas Neustifter <astifter@gmx.at>2009-09-09 12:48:26 +0000
commit20bfe16d937eb797d4248dec6c2a57b691779e35 (patch)
tree8c71742ddeb3610c49001fe9d01550c65457b818 /include
parent7662985fce9b2ca4b60bc57321142a7149fe63d2 (diff)
downloadexternal_llvm-20bfe16d937eb797d4248dec6c2a57b691779e35.zip
external_llvm-20bfe16d937eb797d4248dec6c2a57b691779e35.tar.gz
external_llvm-20bfe16d937eb797d4248dec6c2a57b691779e35.tar.bz2
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')
-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 e74ea3c..de75d48 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]; }