[llvm] r243903 - Fix with a bit more care. (but only a bit)

David Blaikie dblaikie at gmail.com
Mon Aug 3 13:55:00 PDT 2015


Author: dblaikie
Date: Mon Aug  3 15:55:00 2015
New Revision: 243903

URL: http://llvm.org/viewvc/llvm-project?rev=243903&view=rev
Log:
Fix with a bit more care. (but only a bit)

Modified:
    llvm/trunk/lib/AsmParser/LLParser.cpp

Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=243903&r1=243902&r2=243903&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Mon Aug  3 15:55:00 2015
@@ -2609,8 +2609,9 @@ bool LLParser::ParseValID(ValID &ID, Per
     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)





More information about the llvm-commits mailing list