[llvm-commits] CVS: llvm/lib/CodeGen/Mapping/MappingInfo.cpp
Anand Shukla
ashukla at cs.uiuc.edu
Tue Sep 17 15:25:01 PDT 2002
Changes in directory llvm/lib/CodeGen/Mapping:
MappingInfo.cpp updated: 1.1 -> 1.2
---
Log message:
Removed debug info printing
---
Diffs of the changes:
Index: llvm/lib/CodeGen/Mapping/MappingInfo.cpp
diff -u llvm/lib/CodeGen/Mapping/MappingInfo.cpp:1.1 llvm/lib/CodeGen/Mapping/MappingInfo.cpp:1.2
--- llvm/lib/CodeGen/Mapping/MappingInfo.cpp:1.1 Tue Aug 27 17:47:33 2002
+++ llvm/lib/CodeGen/Mapping/MappingInfo.cpp Tue Sep 17 15:24:46 2002
@@ -170,8 +170,12 @@
BI != BE; ++BI, ++bb){
unsigned li = 0;
writeNumber(bb);
+ //std::cerr<<"BasicBlockNumber= "<<bb<<"\n";
+
//Out << "BB: "<<(void *)BI<<"\n";
writeNumber(BI->size());
+ //std::cerr<<"BasicBlockSize = "<<BI->size()<<"\n";
+
for (BasicBlock::iterator II = BI->begin(),
IE = BI->end(); II != IE; ++II, ++li){
//Out << "I: "<<*II<<"\n";
@@ -180,11 +184,16 @@
//do for each corr. MI
writeNumber(li);
- writeNumber(miI.size());
+ //std::cerr<<"InstructionNumber= "<<li<<"\n";
+
+ writeNumber(miI.size());
+ //std::cerr<<"InstructionSize = "<<miI.size()<<"\n";
+
for (MachineCodeForInstruction::iterator miII = miI.begin(),
miIE = miI.end(); miII != miIE; ++miII){
//Out << "MI: "<<**miII<<"\n";
writeNumber(MIkey[*miII]);
+ //std::cerr<<"MachineInstruction= "<<MIkey[*miII]<<"\n";
}
}
}
More information about the llvm-commits
mailing list