[llvm-commits] [llvm] r130513 - /llvm/trunk/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp
Douglas Gregor
dgregor at apple.com
Fri Apr 29 09:57:12 PDT 2011
Author: dgregor
Date: Fri Apr 29 11:57:12 2011
New Revision: 130513
URL: http://llvm.org/viewvc/llvm-project?rev=130513&view=rev
Log:
Fix a C++0x portability issue with std::make_pair. Explicitly providing template arguments no longer works when the call arguments are lvalues.
Modified:
llvm/trunk/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp
Modified: llvm/trunk/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp?rev=130513&r1=130512&r2=130513&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp Fri Apr 29 11:57:12 2011
@@ -142,7 +142,7 @@
// 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.
{
More information about the llvm-commits
mailing list