Fix VC++ compilation errors.

llvm-svn: 26498
This commit is contained in:
Jeff Cohen 2006-03-03 03:25:07 +00:00
parent 94f300d15c
commit 55c1173a6c
1 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ void SUnit::dump(const SelectionDAG *G, bool All) const {
if (Preds.size() != 0) {
std::cerr << "Predecessors :\n";
for (std::set<SUnit*>::iterator I = Preds.begin(),
for (std::set<SUnit*>::const_iterator I = Preds.begin(),
E = Preds.end(); I != E; ++I) {
std::cerr << " ";
(*I)->dump(G, false);
@ -88,7 +88,7 @@ void SUnit::dump(const SelectionDAG *G, bool All) const {
}
if (ChainPreds.size() != 0) {
std::cerr << "Chained Preds :\n";
for (std::set<SUnit*>::iterator I = ChainPreds.begin(),
for (std::set<SUnit*>::const_iterator I = ChainPreds.begin(),
E = ChainPreds.end(); I != E; ++I) {
std::cerr << " ";
(*I)->dump(G, false);
@ -96,7 +96,7 @@ void SUnit::dump(const SelectionDAG *G, bool All) const {
}
if (Succs.size() != 0) {
std::cerr << "Successors :\n";
for (std::set<SUnit*>::iterator I = Succs.begin(),
for (std::set<SUnit*>::const_iterator I = Succs.begin(),
E = Succs.end(); I != E; ++I) {
std::cerr << " ";
(*I)->dump(G, false);
@ -104,7 +104,7 @@ void SUnit::dump(const SelectionDAG *G, bool All) const {
}
if (ChainSuccs.size() != 0) {
std::cerr << "Chained succs :\n";
for (std::set<SUnit*>::iterator I = ChainSuccs.begin(),
for (std::set<SUnit*>::const_iterator I = ChainSuccs.begin(),
E = ChainSuccs.end(); I != E; ++I) {
std::cerr << " ";
(*I)->dump(G, false);