diff options
author | Devang Patel <dpatel@apple.com> | 2007-05-03 01:11:54 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-05-03 01:11:54 +0000 |
commit | 1997473cf72957d0e70322e2fe6fe2ab141c58a6 (patch) | |
tree | c98464a35a7d5a7893b1ffa191981a820b34bff9 /lib/Analysis/ProfileInfo.cpp | |
parent | 10c9a8211d48ddd34ebe4b0abea21917a8dc7ed4 (diff) | |
download | llvm-1997473cf72957d0e70322e2fe6fe2ab141c58a6.tar.gz llvm-1997473cf72957d0e70322e2fe6fe2ab141c58a6.tar.bz2 llvm-1997473cf72957d0e70322e2fe6fe2ab141c58a6.tar.xz |
Drop 'const'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfo.cpp')
-rw-r--r-- | lib/Analysis/ProfileInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp index f487a058d2..c8dad662f1 100644 --- a/lib/Analysis/ProfileInfo.cpp +++ b/lib/Analysis/ProfileInfo.cpp @@ -24,7 +24,7 @@ using namespace llvm; namespace { RegisterAnalysisGroup<ProfileInfo> Z("Profile Information"); } -const char ProfileInfo::ID = 0; +char ProfileInfo::ID = 0; ProfileInfo::~ProfileInfo() {} @@ -86,11 +86,11 @@ unsigned ProfileInfo::getExecutionCount(BasicBlock *BB) const { namespace { struct VISIBILITY_HIDDEN NoProfileInfo : public ImmutablePass, public ProfileInfo { - static const char ID; // Class identification, replacement for typeinfo + static char ID; // Class identification, replacement for typeinfo NoProfileInfo() : ImmutablePass((intptr_t)&ID) {} }; - const char NoProfileInfo::ID = 0; + char NoProfileInfo::ID = 0; // Register this pass... RegisterPass<NoProfileInfo> X("no-profile", "No Profile Information"); |