aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-02-13 16:56:43 +0000
committerJim Laskey <jlaskey@mac.com>2006-02-13 16:56:43 +0000
commitf198eb9c62529e826d87eb61484b30c1853f438f (patch)
tree579b0dfae9f095b053bbb2cb1f416b4ed2fafcb0
parentd96185aa62dacf5c75d889231a8ab2e0f1ceb073 (diff)
downloadexternal_llvm-f198eb9c62529e826d87eb61484b30c1853f438f.zip
external_llvm-f198eb9c62529e826d87eb61484b30c1853f438f.tar.gz
external_llvm-f198eb9c62529e826d87eb61484b30c1853f438f.tar.bz2
Sync up the tag numbers with gcc4.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26146 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachineDebugInfo.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/llvm/CodeGen/MachineDebugInfo.h b/include/llvm/CodeGen/MachineDebugInfo.h
index b730ddc..2df9eb3 100644
--- a/include/llvm/CodeGen/MachineDebugInfo.h
+++ b/include/llvm/CodeGen/MachineDebugInfo.h
@@ -58,17 +58,10 @@ enum {
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 @@ class DIVisitor {
public:
DIVisitor() {}
virtual ~DIVisitor() {}
-
-
+
/// ApplyToFields - Target the visitor to each field of the debug information
/// descriptor.
void ApplyToFields(DebugInfoDesc *DD);