[llvm-commits] [llvm] r137728 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Devang Patel
dpatel at apple.com
Tue Aug 16 10:41:41 PDT 2011
Author: dpatel
Date: Tue Aug 16 12:41:41 2011
New Revision: 137728
URL: http://llvm.org/viewvc/llvm-project?rev=137728&view=rev
Log:
Remove unnecessary version check.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=137728&r1=137727&r2=137728&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Tue Aug 16 12:41:41 2011
@@ -617,8 +617,7 @@
for (DebugInfoFinder::iterator I = DbgFinder.global_variable_begin(),
E = DbgFinder.global_variable_end(); I != E; ++I) {
const MDNode *N = *I;
- if (DIGlobalVariable(N).getVersion() <= LLVMDebugVersion9)
- constructGlobalVariableDIE(getCompileUnit(N), N);
+ constructGlobalVariableDIE(getCompileUnit(N), N);
}
// Create DIEs for each subprogram.
More information about the llvm-commits
mailing list