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:
parent
dcbf455b98
commit
28ad105008
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user