summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
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/Target/Sparc
parent7aa944da8b4de0e532a5634a66f99f418d4bd0dc (diff)
downloadbcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.tar.gz
bcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.zip
Drop 'const'
llvm-svn: 36662
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/DelaySlotFiller.cpp4
-rw-r--r--llvm/lib/Target/Sparc/FPMover.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
index 57eb1a1c9c8..784f1bdfeb5 100644
--- a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
+++ b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
@@ -30,7 +30,7 @@ namespace {
TargetMachine &TM;
const TargetInstrInfo *TII;
- static const char ID;
+ static char ID;
Filler(TargetMachine &tm)
: MachineFunctionPass((intptr_t)&ID), TM(tm), TII(tm.getInstrInfo()) { }
@@ -48,7 +48,7 @@ namespace {
}
};
- const char Filler::ID = 0;
+ char Filler::ID = 0;
} // end of anonymous namespace
/// createSparcDelaySlotFillerPass - Returns a pass that fills in delay
diff --git a/llvm/lib/Target/Sparc/FPMover.cpp b/llvm/lib/Target/Sparc/FPMover.cpp
index ca70a9ceb41..e1c996664a3 100644
--- a/llvm/lib/Target/Sparc/FPMover.cpp
+++ b/llvm/lib/Target/Sparc/FPMover.cpp
@@ -32,7 +32,7 @@ namespace {
///
TargetMachine &TM;
- static const char ID;
+ static char ID;
FPMover(TargetMachine &tm)
: MachineFunctionPass((intptr_t)&ID), TM(tm) { }
@@ -43,7 +43,7 @@ namespace {
bool runOnMachineBasicBlock(MachineBasicBlock &MBB);
bool runOnMachineFunction(MachineFunction &F);
};
- const char FPMover::ID = 0;
+ char FPMover::ID = 0;
} // end of anonymous namespace
/// createSparcFPMoverPass - Returns a pass that turns FpMOVD
OpenPOWER on IntegriCloud