mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Remove unnecessary version check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a43d3e71ec
commit
e26a135248
@ -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