From 871b41130d786d5b9a05c8aca83f8f2320ae3033 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 3 Aug 2015 20:55:00 +0000 Subject: [PATCH] Fix with a bit more care. (but only a bit) llvm-svn: 243903 --- llvm/lib/AsmParser/LLParser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp index d1d3792..f098bab 100644 --- a/llvm/lib/AsmParser/LLParser.cpp +++ b/llvm/lib/AsmParser/LLParser.cpp @@ -2609,8 +2609,9 @@ bool LLParser::ParseValID(ValID &ID, PerFunctionState *PFS) { if (!F) { // Make a global variable as a placeholder for this reference. GlobalValue *&FwdRef = - ForwardRefBlockAddresses.insert(std::make_pair, std::move(Fn), - std::map()) + ForwardRefBlockAddresses.insert(std::make_pair( + std::move(Fn), + std::map())) .first->second.insert(std::make_pair(std::move(Label), nullptr)) .first->second; if (!FwdRef) -- 2.7.4