mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
BBVectorize.cpp: Try to fix MSVC build. map::iterator and multimap::iterator are incompatible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149475 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e004d177f
commit
478eed85f9
@ -940,7 +940,7 @@ namespace {
|
||||
bool MoreChildren = false;
|
||||
size_t MaxChildDepth = QTop.second;
|
||||
VPPIteratorPair qtRange = ConnectedPairs.equal_range(QTop.first);
|
||||
for (std::map<ValuePair, ValuePair>::iterator k = qtRange.first;
|
||||
for (std::multimap<ValuePair, ValuePair>::iterator k = qtRange.first;
|
||||
k != qtRange.second; ++k) {
|
||||
// Make sure that this child pair is still a candidate:
|
||||
bool IsStillCand = false;
|
||||
@ -997,7 +997,7 @@ namespace {
|
||||
// Visit each child, pruning as necessary...
|
||||
DenseMap<ValuePair, size_t> BestChilden;
|
||||
VPPIteratorPair QTopRange = ConnectedPairs.equal_range(QTop.first);
|
||||
for (std::map<ValuePair, ValuePair>::iterator K = QTopRange.first;
|
||||
for (std::multimap<ValuePair, ValuePair>::iterator K = QTopRange.first;
|
||||
K != QTopRange.second; ++K) {
|
||||
DenseMap<ValuePair, size_t>::iterator C = Tree.find(K->second);
|
||||
if (C == Tree.end()) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user