Remove unnecessary temporary.

llvm-svn: 156953
This commit is contained in:
Eric Christopher 2012-05-16 22:02:36 +00:00
parent e26c721976
commit de098cd08f
1 changed files with 1 additions and 3 deletions

View File

@ -688,9 +688,7 @@ llvm::DIType CGDebugInfo::CreateType(const FunctionType *Ty,
}
llvm::DIArray EltTypeArray = DBuilder.getOrCreateArray(EltTys);
llvm::DIType DbgTy = DBuilder.createSubroutineType(Unit, EltTypeArray);
return DbgTy;
return DBuilder.createSubroutineType(Unit, EltTypeArray);
}