summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
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
commit8c78a0bff0c0e9d0594598bcb76cd623bb625083 (patch)
tree7bc923ea023ad1b97520bf8dc76bdb2bc861fc7b /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent7aa944da8b4de0e532a5634a66f99f418d4bd0dc (diff)
downloadbcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.tar.gz
bcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.zip
Drop 'const'
llvm-svn: 36662
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineModuleInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp
index ab664ac8cbb..399fb0d82c6 100644
--- a/llvm/lib/CodeGen/MachineModuleInfo.cpp
+++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp
@@ -30,7 +30,7 @@ using namespace llvm::dwarf;
namespace {
RegisterPass<MachineModuleInfo> X("machinemoduleinfo", "Module Information");
}
-const char MachineModuleInfo::ID = 0;
+char MachineModuleInfo::ID = 0;
//===----------------------------------------------------------------------===//
@@ -1751,14 +1751,14 @@ Function *MachineModuleInfo::getPersonality() const {
namespace llvm {
struct DebugLabelFolder : public MachineFunctionPass {
- static const char ID;
+ static char ID;
DebugLabelFolder() : MachineFunctionPass((intptr_t)&ID) {}
virtual bool runOnMachineFunction(MachineFunction &MF);
virtual const char *getPassName() const { return "Label Folder"; }
};
-const char DebugLabelFolder::ID = 0;
+char DebugLabelFolder::ID = 0;
bool DebugLabelFolder::runOnMachineFunction(MachineFunction &MF) {
// Get machine module info.
OpenPOWER on IntegriCloud