From: Timur Iskhodzhanov Date: Tue, 7 May 2013 07:47:47 +0000 (+0000) Subject: Fix the VS2010 build broken by r181271 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=664fbee9c888c7cd1e7ba7943e9cce96a104ea5e;p=oota-llvm.git Fix the VS2010 build broken by r181271 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181296 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index dd233eaa1bc..aeaa63f2af5 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -606,7 +606,8 @@ DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) { std::pair Range = std::equal_range( ScopesWithImportedEntities.begin(), ScopesWithImportedEntities.end(), - std::pair(DS, 0), CompareFirst()); + std::pair(DS, (const MDNode*)0), + CompareFirst()); if (Children.empty() && Range.first == Range.second) return NULL; ScopeDIE = constructLexicalScopeDIE(TheCU, Scope);