mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
Fix the VS2010 build broken by r181271
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181296 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
338eba7380
commit
664fbee9c8
@ -606,7 +606,8 @@ DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) {
|
|||||||
std::pair<ImportedEntityMap::const_iterator,
|
std::pair<ImportedEntityMap::const_iterator,
|
||||||
ImportedEntityMap::const_iterator> Range = std::equal_range(
|
ImportedEntityMap::const_iterator> Range = std::equal_range(
|
||||||
ScopesWithImportedEntities.begin(), ScopesWithImportedEntities.end(),
|
ScopesWithImportedEntities.begin(), ScopesWithImportedEntities.end(),
|
||||||
std::pair<const MDNode *, const MDNode *>(DS, 0), CompareFirst());
|
std::pair<const MDNode *, const MDNode *>(DS, (const MDNode*)0),
|
||||||
|
CompareFirst());
|
||||||
if (Children.empty() && Range.first == Range.second)
|
if (Children.empty() && Range.first == Range.second)
|
||||||
return NULL;
|
return NULL;
|
||||||
ScopeDIE = constructLexicalScopeDIE(TheCU, Scope);
|
ScopeDIE = constructLexicalScopeDIE(TheCU, Scope);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user