mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-05 03:19:11 +00:00
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193038 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d5b7f2b62c
commit
53c9e5fbb9
@ -1080,10 +1080,9 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
|
|||||||
|
|
||||||
// Add enumerators to enumeration type.
|
// Add enumerators to enumeration type.
|
||||||
for (unsigned i = 0, N = Elements.getNumElements(); i < N; ++i) {
|
for (unsigned i = 0, N = Elements.getNumElements(); i < N; ++i) {
|
||||||
DIE *ElemDie = NULL;
|
|
||||||
DIDescriptor Enum(Elements.getElement(i));
|
DIDescriptor Enum(Elements.getElement(i));
|
||||||
if (Enum.isEnumerator())
|
if (Enum.isEnumerator())
|
||||||
ElemDie = constructEnumTypeDIE(DIEnumerator(Enum), Buffer);
|
constructEnumTypeDIE(DIEnumerator(Enum), Buffer);
|
||||||
}
|
}
|
||||||
DIType DTy = resolve(CTy.getTypeDerivedFrom());
|
DIType DTy = resolve(CTy.getTypeDerivedFrom());
|
||||||
if (DTy) {
|
if (DTy) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user