mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-08 09:43:20 +00:00
Fix a C++0x portability issue with std::make_pair. Explicitly providing template arguments no longer works when the call arguments are lvalues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130513 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72d30f6950
commit
c003229ddc
@ -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.
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user