Fix a C++0x portability issue with std::make_pair. Explicitly providing template...
authorDouglas Gregor <dgregor@apple.com>
Fri, 29 Apr 2011 16:57:12 +0000 (16:57 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 29 Apr 2011 16:57:12 +0000 (16:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130513 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp

index 16d32598d3b5a2e68204ef6a1d3772e3158eef38..e71c20b89fda23736a7d6e5e1d9e5d049f60ac06 100644 (file)
@@ -142,7 +142,7 @@ void JITDebugRegisterer::RegisterFunction(const Function *F, DebugInfo &I) {
 
   // Add a mapping from F to the entry and buffer, so we can delete this
   // info later.
-  FnMap[F] = std::make_pair<std::string, jit_code_entry*>(Buffer, JITCodeEntry);
+  FnMap[F] = std::make_pair(Buffer, JITCodeEntry);
 
   // Acquire the lock and do the registration.
   {