llvm.org GIT mirror llvm / a1bcaae
Merge from mainline Try to fix MSVC build after r79846. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80544 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 9 years ago
2 changed file(s) with 7 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
13301330 }
13311331
13321332 CodeGenDAGPatterns::~CodeGenDAGPatterns() {
1333 for (std::map::iterator I = PatternFragments.begin(),
1333 for (pf_iterator I = PatternFragments.begin(),
13341334 E = PatternFragments.end(); I != E; ++I)
13351335 delete I->second;
13361336 }
19821982 }
19831983
19841984 // If we can, convert the instructions to be patterns that are matched!
1985 for (std::map>::iterator II = Instructions.begin(),
1985 for (std::map, RecordPtrCmp>::iterator II =
1986 Instructions.begin(),
19861987 E = Instructions.end(); II != E; ++II) {
19871988 DAGInstruction &TheInst = II->second;
19881989 const TreePattern *I = TheInst.getPattern();
508508 return SDNodeXForms.find(R)->second;
509509 }
510510
511 typedef std::map>::const_iterator nx_iterator;
511 typedef std::map, RecordPtrCmp>::const_iterator
512 nx_iterator;
512513 nx_iterator nx_begin() const { return SDNodeXForms.begin(); }
513514 nx_iterator nx_end() const { return SDNodeXForms.end(); }
514515
555556 assert(PatternFragments.count(R) && "Invalid pattern fragment request!");
556557 return PatternFragments.find(R)->second;
557558 }
558 typedef std::map>::const_iterator pf_iterator;
559 typedef std::map, RecordPtrCmp>::const_iterator
560 pf_iterator;
559561 pf_iterator pf_begin() const { return PatternFragments.begin(); }
560562 pf_iterator pf_end() const { return PatternFragments.end(); }
561563