Fix compilation error on MSVC.

llvm-svn: 57046
This commit is contained in:
Argyrios Kyrtzidis 2008-10-04 08:11:49 +00:00
parent d1036be0ef
commit 68fec886ed
1 changed files with 1 additions and 1 deletions

View File

@ -653,7 +653,7 @@ void StrongPHIElimination::ScheduleCopies(MachineBasicBlock* MBB,
std::map<unsigned, unsigned> map;
// 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; ) {
map.insert(std::make_pair(I->first, I->first));
map.insert(std::make_pair(I->second, I->second));