mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Try to make MSVC 2010 happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
061c3c4506
commit
4d90638130
@ -271,7 +271,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
|
||||
|
||||
uint64_t VMAddr = Sections[SectIdx].Address - Sections[SectIdx].Offset;
|
||||
for (unsigned i = 0, e = FoundFns.size(); i != e; ++i)
|
||||
FunctionMap.insert(std::pair<uint64_t,MCFunction*>(FoundFns[i]+VMAddr,0));
|
||||
FunctionMap.insert(std::make_pair(FoundFns[i]+VMAddr, (MCFunction*)0));
|
||||
|
||||
StringRef Bytes = MachOObj->getData(Sections[SectIdx].Offset,
|
||||
Sections[SectIdx].Size);
|
||||
@ -335,7 +335,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
|
||||
FunctionMap[Start] = &Functions.back();
|
||||
|
||||
for (unsigned i = 0, e = Calls.size(); i != e; ++i)
|
||||
FunctionMap.insert(std::pair<uint64_t, MCFunction*>(Calls[i], 0));
|
||||
FunctionMap.insert(std::make_pair(Calls[i], (MCFunction*)0));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user