Nope, there's another one!

llvm-svn: 140045
This commit is contained in:
Benjamin Kramer 2011-09-19 20:23:01 +00:00
parent babc5291f4
commit 444f079d34
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
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();
}