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/LoadValueNumbering.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/LoadValueNumbering.cpp')
-rw-r--r-- | llvm/lib/Analysis/LoadValueNumbering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/LoadValueNumbering.cpp b/llvm/lib/Analysis/LoadValueNumbering.cpp index 6f4dbbbf56d..ad5dd20761e 100644 --- a/llvm/lib/Analysis/LoadValueNumbering.cpp +++ b/llvm/lib/Analysis/LoadValueNumbering.cpp @@ -40,7 +40,7 @@ using namespace llvm; namespace { // FIXME: This should not be a FunctionPass. struct VISIBILITY_HIDDEN LoadVN : public FunctionPass, public ValueNumbering { - static const char ID; // Class identification, replacement for typeinfo + static char ID; // Class identification, replacement for typeinfo LoadVN() : FunctionPass((intptr_t)&ID) {} /// Pass Implementation stuff. This doesn't do any analysis. @@ -83,7 +83,7 @@ namespace { std::vector<Value*> &RetVals) const; }; - const char LoadVN::ID = 0; + char LoadVN::ID = 0; // Register this pass... RegisterPass<LoadVN> X("load-vn", "Load Value Numbering"); |