[cfe-commits] r156953 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Eric Christopher
echristo at apple.com
Wed May 16 15:02:36 PDT 2012
Author: echristo
Date: Wed May 16 17:02:36 2012
New Revision: 156953
URL: http://llvm.org/viewvc/llvm-project?rev=156953&view=rev
Log:
Remove unnecessary temporary.
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=156953&r1=156952&r2=156953&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Wed May 16 17:02:36 2012
@@ -688,9 +688,7 @@
}
llvm::DIArray EltTypeArray = DBuilder.getOrCreateArray(EltTys);
-
- llvm::DIType DbgTy = DBuilder.createSubroutineType(Unit, EltTypeArray);
- return DbgTy;
+ return DBuilder.createSubroutineType(Unit, EltTypeArray);
}
More information about the cfe-commits
mailing list