[llvm-commits] CVS: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp ARMLoadStoreOptimizer.cpp
Devang Patel
dpatel at apple.com
Wed May 2 18:14:11 PDT 2007
Changes in directory llvm/lib/Target/ARM:
ARMConstantIslandPass.cpp updated: 1.41 -> 1.42
ARMLoadStoreOptimizer.cpp updated: 1.10 -> 1.11
---
Log message:
Drop 'const'
---
Diffs of the changes: (+4 -4)
ARMConstantIslandPass.cpp | 4 ++--
ARMLoadStoreOptimizer.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
diff -u llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.41 llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.42
--- llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.41 Wed May 2 16:39:19 2007
+++ llvm/lib/Target/ARM/ARMConstantIslandPass.cpp Wed May 2 20:11:53 2007
@@ -128,7 +128,7 @@
ARMFunctionInfo *AFI;
bool isThumb;
public:
- static const char ID;
+ static char ID;
ARMConstantIslands() : MachineFunctionPass((intptr_t)&ID) {}
virtual bool runOnMachineFunction(MachineFunction &Fn);
@@ -174,7 +174,7 @@
void dumpBBs();
void verify(MachineFunction &Fn);
};
- const char ARMConstantIslands::ID = 0;
+ char ARMConstantIslands::ID = 0;
}
/// verify - check BBOffsets, BBSizes, alignment of islands
Index: llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
diff -u llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp:1.10 llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp:1.11
--- llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp:1.10 Wed May 2 16:39:19 2007
+++ llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp Wed May 2 20:11:53 2007
@@ -38,7 +38,7 @@
namespace {
struct VISIBILITY_HIDDEN ARMLoadStoreOpt : public MachineFunctionPass {
- static const char ID;
+ static char ID;
ARMLoadStoreOpt() : MachineFunctionPass((intptr_t)&ID) {}
const TargetInstrInfo *TII;
@@ -73,7 +73,7 @@
bool LoadStoreMultipleOpti(MachineBasicBlock &MBB);
bool MergeReturnIntoLDM(MachineBasicBlock &MBB);
};
- const char ARMLoadStoreOpt::ID = 0;
+ char ARMLoadStoreOpt::ID = 0;
}
/// createARMLoadStoreOptimizationPass - returns an instance of the load / store
More information about the llvm-commits
mailing list