1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Fix VC++ compilation errors.

llvm-svn: 26498
This commit is contained in:
Jeff Cohen 2006-03-03 03:25:07 +00:00
parent c8db4dd179
commit ee1a26dc07

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);