[llvm-commits] CVS: llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp

Anand Shukla ashukla at cs.uiuc.edu
Fri Sep 20 12:12:11 PDT 2002


Changes in directory llvm/lib/Reoptimizer/TraceCache:

VirtualMem.cpp updated: 1.2 -> 1.3

---
Log message:

Minor changes: such as removing debug info


---
Diffs of the changes:

Index: llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp
diff -u llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp:1.2 llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp:1.3
--- llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp:1.2	Tue Sep 17 12:26:22 2002
+++ llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp	Fri Sep 20 12:11:09 2002
@@ -57,17 +57,17 @@
   if(isNonDepJump(instr)){     
     unsigned int newInstr = getUndepJumpInstr(instr, to, frm);
     writeInstToVM(frm, newInstr);
-    std::cerr<<"New instruction:"<<(void *)newInstr<<"\n"; 
+    //std::cerr<<"New instruction:"<<(void *)newInstr<<"\n"; 
   }
 
   else if(isDepJump(instr)){      
     unsigned int newInstr = getDepJumpInstr(instr, to, frm);
     writeInstToVM(frm, newInstr);
-    std::cerr<<"New instruction:"<<(void *)newInstr<<"\n";
+    //std::cerr<<"New instruction:"<<(void *)newInstr<<"\n";
   }
 
   else{
-    std::cerr<<(void *) instr<<"\n";
+    //std::cerr<<(void *) instr<<"\n";
     assert(0 && "This jump/branch not yet handled!");
   }
 }
@@ -86,7 +86,7 @@
   else if(isDepJump(instr))
     return getDepJmpTarget(instr, n.first);
   
-  std::cerr<<(void *) instr<<"\n";
+  //std::cerr<<(void *) instr<<"\n";
   assert(0 && "This branch type is not yet handled!");
 }
 
@@ -113,13 +113,13 @@
       uint64_t branchTarget = getNonDepJmpTarget(instr, MI->second);
       unsigned int newInstr = getUndepJumpInstr(instr, branchTarget, frm);
       writeInstToVM(frm, newInstr);
-      std::cerr<<"New instruction:"<<(void *)newInstr<<"\n"; 
+      //std::cerr<<"New instruction:"<<(void *)newInstr<<"\n"; 
     }
     else if(isDepJump(instr)){
       uint64_t branchTarget = getDepJmpTarget(instr, MI->second);
       unsigned int newInstr = getDepJumpInstr(instr, branchTarget, frm);
       writeInstToVM(frm, newInstr);
-      std::cerr<<"New instruction:"<<(void *)newInstr<<"\n";
+      //std::cerr<<"New instruction:"<<(void *)newInstr<<"\n";
     }
     else if(isBPR(instr)){
       uint64_t branchTarget = getBPRTarget(instr, MI->second);
@@ -129,10 +129,10 @@
       //unsigned int newInstr = getBPRInstr(instr, branchTarget, frm);
       writeInstToVM(frm, newInstr.first);
       writeInstToVM(frm+4, newInstr.second);
-      std::cerr<<"New instruction:"<<(void *)newInstr.first<<"\t"<<(void *)newInstr.second<<"\n";
+      //std::cerr<<"New instruction:"<<(void *)newInstr.first<<"\t"<<(void *)newInstr.second<<"\n";
     }
     else{
-      std::cerr<<(void *) instr<<"\n";
+      //std::cerr<<(void *) instr<<"\n";
       assert(0 && "This jump/branch not yet handled!");
     }
 
@@ -155,7 +155,7 @@
     uint64_t callTarget = getCallTarget(instr, MI->second);
     unsigned int newInstr = getCallInstr(callTarget, frm);
     writeInstToVM(frm, newInstr);
-    std::cerr<<"New instruction:"<<(void *)newInstr<<"\n";
+    //std::cerr<<"New instruction:"<<(void *)newInstr<<"\n";
   }
 }
 





More information about the llvm-commits mailing list