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 | 8c78a0bff0c0e9d0594598bcb76cd623bb625083 (patch) | |
tree | 7bc923ea023ad1b97520bf8dc76bdb2bc861fc7b /llvm/lib/Analysis/InstCount.cpp | |
parent | 7aa944da8b4de0e532a5634a66f99f418d4bd0dc (diff) | |
download | bcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.tar.gz bcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.zip |
Drop 'const'
llvm-svn: 36662
Diffstat (limited to 'llvm/lib/Analysis/InstCount.cpp')
-rw-r--r-- | llvm/lib/Analysis/InstCount.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/InstCount.cpp b/llvm/lib/Analysis/InstCount.cpp index 87fcd8ff4ee..9b743fee317 100644 --- a/llvm/lib/Analysis/InstCount.cpp +++ b/llvm/lib/Analysis/InstCount.cpp @@ -51,7 +51,7 @@ namespace { abort(); } public: - static const char ID; // Pass identifcation, replacement for typeid + static char ID; // Pass identifcation, replacement for typeid InstCount() : FunctionPass((intptr_t)&ID) {} virtual bool runOnFunction(Function &F); @@ -63,7 +63,7 @@ namespace { }; - const char InstCount::ID = 0; + char InstCount::ID = 0; RegisterPass<InstCount> X("instcount", "Counts the various types of Instructions"); } |