diff options
author | Andreas Neustifter <astifter@gmx.at> | 2009-09-16 11:35:50 +0000 |
---|---|---|
committer | Andreas Neustifter <astifter@gmx.at> | 2009-09-16 11:35:50 +0000 |
commit | ec139a0819923967e3c2b8a8e5fafa8859056b8b (patch) | |
tree | 2eb3c2d79854df6f6f890e77358657b2f3536e57 /include | |
parent | 9f16e4059d7e325248642d3a8051d83bec4c7404 (diff) | |
download | external_llvm-ec139a0819923967e3c2b8a8e5fafa8859056b8b.zip external_llvm-ec139a0819923967e3c2b8a8e5fafa8859056b8b.tar.gz external_llvm-ec139a0819923967e3c2b8a8e5fafa8859056b8b.tar.bz2 |
Reapplied r81355 with the problems fixed.
(See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086737.html and
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086746.html)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-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 e74ea3c..9e0c393 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; + unsigned getNumExecutions() const { return CommandLines.size(); } const std::string &getExecution(unsigned i) const { return CommandLines[i]; } |