aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-10-04 08:11:49 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-10-04 08:11:49 +0000
commit0304b87cce60f5d98bd5a505bf8bee0b10f71548 (patch)
tree22dfa83d5506495faa4e7d04ab5c6172b62eb0f4 /lib/CodeGen
parent241f464d24a6c22721607841069bbeb17b3f71e6 (diff)
downloadexternal_llvm-0304b87cce60f5d98bd5a505bf8bee0b10f71548.zip
external_llvm-0304b87cce60f5d98bd5a505bf8bee0b10f71548.tar.gz
external_llvm-0304b87cce60f5d98bd5a505bf8bee0b10f71548.tar.bz2
Fix compilation error on MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57046 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/StrongPHIElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/StrongPHIElimination.cpp b/lib/CodeGen/StrongPHIElimination.cpp
index 82b7592..d8d2a23 100644
--- a/lib/CodeGen/StrongPHIElimination.cpp
+++ b/lib/CodeGen/StrongPHIElimination.cpp
@@ -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));