[llvm-commits] CVS: llvm/lib/Target/Sparc/DelaySlotFiller.cpp FPMover.cpp
Devang Patel
dpatel at apple.com
Wed May 2 18:13:59 PDT 2007
Changes in directory llvm/lib/Target/Sparc:
DelaySlotFiller.cpp updated: 1.15 -> 1.16
FPMover.cpp updated: 1.20 -> 1.21
---
Log message:
Drop 'const'
---
Diffs of the changes: (+4 -4)
DelaySlotFiller.cpp | 4 ++--
FPMover.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/Sparc/DelaySlotFiller.cpp
diff -u llvm/lib/Target/Sparc/DelaySlotFiller.cpp:1.15 llvm/lib/Target/Sparc/DelaySlotFiller.cpp:1.16
--- llvm/lib/Target/Sparc/DelaySlotFiller.cpp:1.15 Wed May 2 16:39:19 2007
+++ llvm/lib/Target/Sparc/DelaySlotFiller.cpp Wed May 2 20:11:54 2007
@@ -30,7 +30,7 @@
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 @@
}
};
- const char Filler::ID = 0;
+ char Filler::ID = 0;
} // end of anonymous namespace
/// createSparcDelaySlotFillerPass - Returns a pass that fills in delay
Index: llvm/lib/Target/Sparc/FPMover.cpp
diff -u llvm/lib/Target/Sparc/FPMover.cpp:1.20 llvm/lib/Target/Sparc/FPMover.cpp:1.21
--- llvm/lib/Target/Sparc/FPMover.cpp:1.20 Wed May 2 16:39:19 2007
+++ llvm/lib/Target/Sparc/FPMover.cpp Wed May 2 20:11:54 2007
@@ -32,7 +32,7 @@
///
TargetMachine &TM;
- static const char ID;
+ static char ID;
FPMover(TargetMachine &tm)
: MachineFunctionPass((intptr_t)&ID), TM(tm) { }
@@ -43,7 +43,7 @@
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
More information about the llvm-commits
mailing list