diff options
| author | Andreas Neustifter <astifter-llvm@gmx.at> | 2009-09-16 11:35:50 +0000 |
|---|---|---|
| committer | Andreas Neustifter <astifter-llvm@gmx.at> | 2009-09-16 11:35:50 +0000 |
| commit | 41c1103273a03feb9fdee5ee06d9d7fd19f3b80a (patch) | |
| tree | 056f1d16cbed4c938c98c3c138bc79f711231a5e /llvm/include | |
| parent | 230c717e0b99ecca830f6457396a2e87a274f1b6 (diff) | |
| download | bcm5719-llvm-41c1103273a03feb9fdee5ee06d9d7fd19f3b80a.tar.gz bcm5719-llvm-41c1103273a03feb9fdee5ee06d9d7fd19f3b80a.zip | |
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)
llvm-svn: 82039
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Analysis/ProfileInfoLoader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/ProfileInfoLoader.h b/llvm/include/llvm/Analysis/ProfileInfoLoader.h index e74ea3c7d3a..9e0c393c428 100644 --- a/llvm/include/llvm/Analysis/ProfileInfoLoader.h +++ b/llvm/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]; } |

