1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Remove unnecessary version check.

llvm-svn: 137728
This commit is contained in:
Devang Patel 2011-08-16 17:41:41 +00:00
parent dcbf455b98
commit 28ad105008

View File

@ -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.