diff options
| author | Devang Patel <dpatel@apple.com> | 2011-08-16 17:41:41 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2011-08-16 17:41:41 +0000 |
| commit | 927840458ef38b35307dfd7796ce236743b137f8 (patch) | |
| tree | 1b2fdc28f32f50486c5f8cd2830d1142eb2ed73b /llvm/lib/CodeGen | |
| parent | 7d7bec5acf543246a9a0dc9c7daedf52224ca661 (diff) | |
| download | bcm5719-llvm-927840458ef38b35307dfd7796ce236743b137f8.tar.gz bcm5719-llvm-927840458ef38b35307dfd7796ce236743b137f8.zip | |
Remove unnecessary version check.
llvm-svn: 137728
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 4cc54d6941b..45e0aaa5010 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -617,8 +617,7 @@ bool DwarfDebug::collectLegacyDebugInfo(Module *M) { 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. |

