[llvm-commits] [dragonegg] r130195 - /dragonegg/trunk/src/Debug.cpp
Duncan Sands
baldrick at free.fr
Tue Apr 26 01:26:50 PDT 2011
Author: baldrick
Date: Tue Apr 26 03:26:50 2011
New Revision: 130195
URL: http://llvm.org/viewvc/llvm-project?rev=130195&view=rev
Log:
Remove unused variable.
Modified:
dragonegg/trunk/src/Debug.cpp
Modified: dragonegg/trunk/src/Debug.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Debug.cpp?rev=130195&r1=130194&r2=130195&view=diff
==============================================================================
--- dragonegg/trunk/src/Debug.cpp (original)
+++ dragonegg/trunk/src/Debug.cpp Tue Apr 26 03:26:50 2011
@@ -619,14 +619,8 @@
return DIType();
}
- unsigned Tag = 0;
-
- if (TREE_CODE(type) == VECTOR_TYPE) {
- Tag = DW_TAG_vector_type;
+ if (TREE_CODE(type) == VECTOR_TYPE)
type = TREE_TYPE (TYPE_FIELDS (TYPE_DEBUG_REPRESENTATION_TYPE (type)));
- }
- else
- Tag = DW_TAG_array_type;
// Add the dimensions of the array. FIXME: This loses CV qualifiers from
// interior arrays, do we care? Why aren't nested arrays represented the
More information about the llvm-commits
mailing list