aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/MappingInfo.cpp
diff options
context:
space:
mode:
authorAnand Shukla <ashukla@cs.uiuc.edu>2002-09-17 20:24:46 +0000
committerAnand Shukla <ashukla@cs.uiuc.edu>2002-09-17 20:24:46 +0000
commitb379470b90391aa0dc6fb35d58315fccac1fadff (patch)
tree523c6465b26164482543257bac68eeaba3ed04ce /lib/Target/SparcV9/MappingInfo.cpp
parent82f05d86106c712097986b2563d3b66f867db8ac (diff)
downloadexternal_llvm-b379470b90391aa0dc6fb35d58315fccac1fadff.zip
external_llvm-b379470b90391aa0dc6fb35d58315fccac1fadff.tar.gz
external_llvm-b379470b90391aa0dc6fb35d58315fccac1fadff.tar.bz2
Removed debug info printing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/MappingInfo.cpp')
-rw-r--r--lib/Target/SparcV9/MappingInfo.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/MappingInfo.cpp b/lib/Target/SparcV9/MappingInfo.cpp
index 65c2210..e207c20 100644
--- a/lib/Target/SparcV9/MappingInfo.cpp
+++ b/lib/Target/SparcV9/MappingInfo.cpp
@@ -170,8 +170,12 @@ void getMappingInfoForFunction::writeLLVMToMImap(Function &FI){
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 @@ void getMappingInfoForFunction::writeLLVMToMImap(Function &FI){
//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";
}
}
}