aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MSIL
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-05-03 01:11:54 +0000
committerDevang Patel <dpatel@apple.com>2007-05-03 01:11:54 +0000
commit1997473cf72957d0e70322e2fe6fe2ab141c58a6 (patch)
treec98464a35a7d5a7893b1ffa191981a820b34bff9 /lib/Target/MSIL
parent10c9a8211d48ddd34ebe4b0abea21917a8dc7ed4 (diff)
downloadexternal_llvm-1997473cf72957d0e70322e2fe6fe2ab141c58a6.zip
external_llvm-1997473cf72957d0e70322e2fe6fe2ab141c58a6.tar.gz
external_llvm-1997473cf72957d0e70322e2fe6fe2ab141c58a6.tar.bz2
Drop 'const'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSIL')
-rw-r--r--lib/Target/MSIL/MSILWriter.cpp4
-rw-r--r--lib/Target/MSIL/MSILWriter.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/MSIL/MSILWriter.cpp b/lib/Target/MSIL/MSILWriter.cpp
index 029094c..37aed43 100644
--- a/lib/Target/MSIL/MSILWriter.cpp
+++ b/lib/Target/MSIL/MSILWriter.cpp
@@ -80,8 +80,8 @@ bool MSILModule::runOnModule(Module &M) {
return Changed;
}
-const char MSILModule::ID = 0;
-const char MSILWriter::ID = 0;
+char MSILModule::ID = 0;
+char MSILWriter::ID = 0;
bool MSILWriter::runOnFunction(Function &F) {
if (F.isDeclaration()) return false;
diff --git a/lib/Target/MSIL/MSILWriter.h b/lib/Target/MSIL/MSILWriter.h
index 6746d67..3db825f 100644
--- a/lib/Target/MSIL/MSILWriter.h
+++ b/lib/Target/MSIL/MSILWriter.h
@@ -37,7 +37,7 @@ namespace {
const TargetData*& TD;
public:
- static const char ID;
+ static char ID;
MSILModule(const std::set<const Type *>*& _UsedTypes,
const TargetData*& _TD)
: ModulePass((intptr_t)&ID), UsedTypes(_UsedTypes), TD(_TD) {}
@@ -83,7 +83,7 @@ namespace {
std::map<const GlobalVariable*,std::vector<StaticInitializer> >
StaticInitList;
const std::set<const Type *>* UsedTypes;
- static const char ID;
+ static char ID;
MSILWriter(std::ostream &o) : FunctionPass((intptr_t)&ID), Out(o) {
UniqID = 0;
}