[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h LiveIntervalAnalysis.h LiveVariables.h MachineModuleInfo.h SelectionDAGISel.h

Devang Patel dpatel at apple.com
Wed May 2 18:14:10 PDT 2007



Changes in directory llvm/include/llvm/CodeGen:

AsmPrinter.h updated: 1.65 -> 1.66
LiveIntervalAnalysis.h updated: 1.82 -> 1.83
LiveVariables.h updated: 1.43 -> 1.44
MachineModuleInfo.h updated: 1.9 -> 1.10
SelectionDAGISel.h updated: 1.39 -> 1.40
---
Log message:

Drop 'const'


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

 AsmPrinter.h           |    2 +-
 LiveIntervalAnalysis.h |    2 +-
 LiveVariables.h        |    2 +-
 MachineModuleInfo.h    |    2 +-
 SelectionDAGISel.h     |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.65 llvm/include/llvm/CodeGen/AsmPrinter.h:1.66
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.65	Wed May  2 16:39:18 2007
+++ llvm/include/llvm/CodeGen/AsmPrinter.h	Wed May  2 20:11:53 2007
@@ -34,7 +34,7 @@
   /// AsmPrinter - This class is intended to be used as a driving class for all
   /// asm writers.
   class AsmPrinter : public MachineFunctionPass {
-    static const char ID;
+    static char ID;
 
     /// FunctionNumber - This provides a unique ID for each function emitted in
     /// this translation unit.  It is autoincremented by SetupMachineFunction,


Index: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff -u llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.82 llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.83
--- llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.82	Wed May  2 16:39:18 2007
+++ llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h	Wed May  2 20:11:53 2007
@@ -65,7 +65,7 @@
     BitVector JoinedLIs;
 
   public:
-    static const char ID; // Pass identifcation, replacement for typeid
+    static char ID; // Pass identifcation, replacement for typeid
     LiveIntervals() : MachineFunctionPass((intptr_t)&ID) {}
 
     struct CopyRec {


Index: llvm/include/llvm/CodeGen/LiveVariables.h
diff -u llvm/include/llvm/CodeGen/LiveVariables.h:1.43 llvm/include/llvm/CodeGen/LiveVariables.h:1.44
--- llvm/include/llvm/CodeGen/LiveVariables.h:1.43	Wed May  2 16:39:18 2007
+++ llvm/include/llvm/CodeGen/LiveVariables.h	Wed May  2 20:11:53 2007
@@ -40,7 +40,7 @@
 
 class LiveVariables : public MachineFunctionPass {
 public:
-  static const char ID; // Pass identifcation, replacement for typeid
+  static char ID; // Pass identifcation, replacement for typeid
   LiveVariables() : MachineFunctionPass((intptr_t)&ID) {}
 
   /// VarInfo - This represents the regions where a virtual register is live in


Index: llvm/include/llvm/CodeGen/MachineModuleInfo.h
diff -u llvm/include/llvm/CodeGen/MachineModuleInfo.h:1.9 llvm/include/llvm/CodeGen/MachineModuleInfo.h:1.10
--- llvm/include/llvm/CodeGen/MachineModuleInfo.h:1.9	Wed May  2 16:39:18 2007
+++ llvm/include/llvm/CodeGen/MachineModuleInfo.h	Wed May  2 20:11:53 2007
@@ -1022,7 +1022,7 @@
   std::vector<GlobalVariable *> TypeInfos;
 
 public:
-  static const char ID; // Pass identifcation, replacement for typeid
+  static char ID; // Pass identifcation, replacement for typeid
 
   MachineModuleInfo();
   ~MachineModuleInfo();


Index: llvm/include/llvm/CodeGen/SelectionDAGISel.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGISel.h:1.39 llvm/include/llvm/CodeGen/SelectionDAGISel.h:1.40
--- llvm/include/llvm/CodeGen/SelectionDAGISel.h:1.39	Wed May  2 16:39:18 2007
+++ llvm/include/llvm/CodeGen/SelectionDAGISel.h	Wed May  2 20:11:53 2007
@@ -41,7 +41,7 @@
   MachineBasicBlock *BB;
   std::vector<SDNode*> TopOrder;
   unsigned DAGSize;
-  static const char ID;
+  static char ID;
 
   explicit SelectionDAGISel(TargetLowering &tli) : 
     FunctionPass((intptr_t)&ID), TLI(tli), DAGSize(0) {}






More information about the llvm-commits mailing list