summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-04-29 16:57:12 +0000
committerDouglas Gregor <dgregor@apple.com>2011-04-29 16:57:12 +0000
commitdd8061e09f1b82ee4b7ce4b885925718024b13ad (patch)
treeb9df40709c714774f4e4969973d372044ffff68e /llvm
parent6c38001ec593343c3b7ba370acbbc302bce05a09 (diff)
downloadbcm5719-llvm-dd8061e09f1b82ee4b7ce4b885925718024b13ad.tar.gz
bcm5719-llvm-dd8061e09f1b82ee4b7ce4b885925718024b13ad.zip
Fix a C++0x portability issue with std::make_pair. Explicitly providing template arguments no longer works when the call arguments are lvalues.
llvm-svn: 130513
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp b/llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp
index 16d32598d3b..e71c20b89fd 100644
--- a/llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp
+++ b/llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp
@@ -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.
{
OpenPOWER on IntegriCloud