mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Fix compilation error on MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57046 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -653,7 +653,7 @@ void StrongPHIElimination::ScheduleCopies(MachineBasicBlock* MBB,
|
|||||||
std::map<unsigned, unsigned> map;
|
std::map<unsigned, unsigned> map;
|
||||||
|
|
||||||
// Setup worklist of initial copies
|
// Setup worklist of initial copies
|
||||||
for (std::map<unsigned, unsigned>::iterator I = copy_set.begin(),
|
for (std::multimap<unsigned, unsigned>::iterator I = copy_set.begin(),
|
||||||
E = copy_set.end(); I != E; ) {
|
E = copy_set.end(); I != E; ) {
|
||||||
map.insert(std::make_pair(I->first, I->first));
|
map.insert(std::make_pair(I->first, I->first));
|
||||||
map.insert(std::make_pair(I->second, I->second));
|
map.insert(std::make_pair(I->second, I->second));
|
||||||
|
Reference in New Issue
Block a user