Fix with a bit more care. (but only a bit)
[oota-llvm.git] / lib / AsmParser / LLParser.cpp
index d1d379242e0427d9d9e6018df124c05e2a6b1853..f098babb9f4e5092a1dc478b453803a348a79740 100644 (file)
@@ -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<ValID, GlobalValue *>())
+          ForwardRefBlockAddresses.insert(std::make_pair(
+                                              std::move(Fn),
+                                              std::map<ValID, GlobalValue *>()))
               .first->second.insert(std::make_pair(std::move(Label), nullptr))
               .first->second;
       if (!FwdRef)