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
This commit is contained in:
Douglas Gregor 2011-04-29 16:57:12 +00:00
parent 6c38001ec5
commit dd8061e09f
1 changed files with 1 additions and 1 deletions

View 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.
{