[llvm-commits] [llvm] r140045 - /llvm/trunk/tools/llvm-objdump/MachODump.cpp
Benjamin Kramer
benny.kra at googlemail.com
Mon Sep 19 13:23:01 PDT 2011
Author: d0k
Date: Mon Sep 19 15:23:01 2011
New Revision: 140045
URL: http://llvm.org/viewvc/llvm-project?rev=140045&view=rev
Log:
Nope, there's another one!
Modified:
llvm/trunk/tools/llvm-objdump/MachODump.cpp
Modified: llvm/trunk/tools/llvm-objdump/MachODump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/MachODump.cpp?rev=140045&r1=140044&r2=140045&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/MachODump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/MachODump.cpp Mon Sep 19 15:23:01 2011
@@ -368,7 +368,7 @@
Functions.push_back(f);
mi->second = &Functions.back();
for (unsigned i = 0, e = Calls.size(); i != e; ++i)
- if (FunctionMap.insert(std::pair<uint64_t, MCFunction*>(Calls[i],0))
+ if (FunctionMap.insert(std::make_pair(Calls[i], (MCFunction*)0))
.second)
mi = FunctionMap.begin();
}
More information about the llvm-commits
mailing list