Fix compilation error on MSVC.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 4 Oct 2008 08:11:49 +0000 (08:11 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 4 Oct 2008 08:11:49 +0000 (08:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57046 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/StrongPHIElimination.cpp

index 82b75922fe54351bbe705339c044c86833544056..d8d2a2316a37379344f5ad7d97b737741de4c87e 100644 (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));