[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineDebugInfo.h

Jim Laskey jlaskey at apple.com
Mon Feb 13 08:56:56 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

MachineDebugInfo.h updated: 1.15 -> 1.16
---
Log message:

Sync up the tag numbers with gcc4.


---
Diffs of the changes:  (+1 -9)

 MachineDebugInfo.h |   10 +---------
 1 files changed, 1 insertion(+), 9 deletions(-)


Index: llvm/include/llvm/CodeGen/MachineDebugInfo.h
diff -u llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.15 llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.16
--- llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.15	Mon Feb 13 06:50:38 2006
+++ llvm/include/llvm/CodeGen/MachineDebugInfo.h	Mon Feb 13 10:56:43 2006
@@ -58,17 +58,10 @@
   DIInvalid = ~0U,                      // Invalid result indicator.
   
   // DebugInfoDesc type identifying tags.
-  // FIXME - Change over with gcc4.
   DI_TAG_anchor = 0,
-#if 1
-  DI_TAG_compile_unit = DW_TAG_compile_unit,
-  DI_TAG_global_variable = DW_TAG_variable,
-  DI_TAG_subprogram = DW_TAG_subprogram
-#else
   DI_TAG_compile_unit,
   DI_TAG_global_variable,
   DI_TAG_subprogram
-#endif
 };
 
 //===----------------------------------------------------------------------===//
@@ -78,8 +71,7 @@
 public:
   DIVisitor() {}
   virtual ~DIVisitor() {}
-  
-  
+
   /// ApplyToFields - Target the visitor to each field of the debug information
   /// descriptor.
   void ApplyToFields(DebugInfoDesc *DD);






More information about the llvm-commits mailing list