diff options
author | Argiris Kirtzidis <akyrtzi@gmail.com> | 2008-10-04 08:11:49 +0000 |
---|---|---|
committer | Argiris Kirtzidis <akyrtzi@gmail.com> | 2008-10-04 08:11:49 +0000 |
commit | 2d3df9627b7923bf35f4f0e5c94f5593a217bffc (patch) | |
tree | 22dfa83d5506495faa4e7d04ab5c6172b62eb0f4 /lib/CodeGen/StrongPHIElimination.cpp | |
parent | 2764e174ba023f24b2729dea7747da4fd2e3ec71 (diff) | |
download | external_llvm-2d3df9627b7923bf35f4f0e5c94f5593a217bffc.zip external_llvm-2d3df9627b7923bf35f4f0e5c94f5593a217bffc.tar.gz external_llvm-2d3df9627b7923bf35f4f0e5c94f5593a217bffc.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/StrongPHIElimination.cpp')
-rw-r--r-- | lib/CodeGen/StrongPHIElimination.cpp | 2 |
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)); |