Changes in directory llvm/lib/Target/Alpha:

AlphaBranchSelector.cpp updated: 1.4 -> 1.5
AlphaCodeEmitter.cpp updated: 1.23 -> 1.24
AlphaLLRP.cpp updated: 1.10 -> 1.11
---
Log message:

Drop 'const'


---
Diffs of the changes:  (+6 -6)

 AlphaBranchSelector.cpp |    4 ++--
 AlphaCodeEmitter.cpp    |    4 ++--
 AlphaLLRP.cpp           |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaBranchSelector.cpp
diff -u llvm/lib/Target/Alpha/AlphaBranchSelector.cpp:1.4 
llvm/lib/Target/Alpha/AlphaBranchSelector.cpp:1.5
--- llvm/lib/Target/Alpha/AlphaBranchSelector.cpp:1.4   Wed May  2 16:39:19 2007
+++ llvm/lib/Target/Alpha/AlphaBranchSelector.cpp       Wed May  2 20:11:53 2007
@@ -22,7 +22,7 @@
 
 namespace {
   struct VISIBILITY_HIDDEN AlphaBSel : public MachineFunctionPass {
-    static const char ID;
+    static char ID;
     AlphaBSel() : MachineFunctionPass((intptr_t)&ID) {}
 
     virtual bool runOnMachineFunction(MachineFunction &Fn);
@@ -31,7 +31,7 @@
       return "Alpha Branch Selection";
     }
   };
-  const char AlphaBSel::ID = 0;
+  char AlphaBSel::ID = 0;
 }
 
 /// createAlphaBranchSelectionPass - returns an instance of the Branch 
Selection


Index: llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp
diff -u llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:1.23 
llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:1.24
--- llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:1.23     Wed May  2 16:39:19 2007
+++ llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp  Wed May  2 20:11:53 2007
@@ -36,7 +36,7 @@
     int getMachineOpValue(MachineInstr &MI, MachineOperand &MO);
 
   public:
-    static const char ID;
+    static char ID;
     explicit AlphaCodeEmitter(TargetMachine &tm, MachineCodeEmitter &mce)
       : MachineFunctionPass((intptr_t)&ID), II(0), TM(tm), MCE(mce) {}
     AlphaCodeEmitter(TargetMachine &tm, MachineCodeEmitter &mce,
@@ -61,7 +61,7 @@
     void emitBasicBlock(MachineBasicBlock &MBB);
 
   };
-  const char AlphaCodeEmitter::ID = 0;
+  char AlphaCodeEmitter::ID = 0;
 }
 
 /// createAlphaCodeEmitterPass - Return a pass that emits the collected Alpha 
code


Index: llvm/lib/Target/Alpha/AlphaLLRP.cpp
diff -u llvm/lib/Target/Alpha/AlphaLLRP.cpp:1.10 
llvm/lib/Target/Alpha/AlphaLLRP.cpp:1.11
--- llvm/lib/Target/Alpha/AlphaLLRP.cpp:1.10    Wed May  2 16:39:19 2007
+++ llvm/lib/Target/Alpha/AlphaLLRP.cpp Wed May  2 20:11:53 2007
@@ -37,7 +37,7 @@
     ///
     AlphaTargetMachine &TM;
 
-    static const char ID;
+    static char ID;
     AlphaLLRPPass(AlphaTargetMachine &tm) 
       : MachineFunctionPass((intptr_t)&ID), TM(tm) { }
 
@@ -154,7 +154,7 @@
       return Changed;
     }
   };
-  const char AlphaLLRPPass::ID = 0;
+  char AlphaLLRPPass::ID = 0;
 } // end of anonymous namespace
 
 FunctionPass *llvm::createAlphaLLRPPass(AlphaTargetMachine &tm) {



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to