summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-05-07 07:47:47 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-05-07 07:47:47 +0000
commitec4afe668053541b00e93e51cea0e0d5a9351121 (patch)
tree30e64ed3ebf4bd1db50b49d9ee0f3e48d6453517
parent637bd631237d5d08666341bf371a60af1c58ab96 (diff)
downloadbcm5719-llvm-ec4afe668053541b00e93e51cea0e0d5a9351121.tar.gz
bcm5719-llvm-ec4afe668053541b00e93e51cea0e0d5a9351121.zip
Fix the VS2010 build broken by r181271
llvm-svn: 181296
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index dd233eaa1bc..aeaa63f2af5 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -606,7 +606,8 @@ DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) {
std::pair<ImportedEntityMap::const_iterator,
ImportedEntityMap::const_iterator> Range = std::equal_range(
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)
return NULL;
ScopeDIE = constructLexicalScopeDIE(TheCU, Scope);
OpenPOWER on IntegriCloud