[llvm-commits] CVS: llvm/lib/CWriter/Writer.cpp

Nicholas Hildenbrandt hldnbrnd at cs.uiuc.edu
Wed Oct 2 13:36:00 PDT 2002


Changes in directory llvm/lib/CWriter:

Writer.cpp updated: 1.57 -> 1.58

---
Log message:

Removed unneeded reference and dereferences. 


---
Diffs of the changes:

Index: llvm/lib/CWriter/Writer.cpp
diff -u llvm/lib/CWriter/Writer.cpp:1.57 llvm/lib/CWriter/Writer.cpp:1.58
--- llvm/lib/CWriter/Writer.cpp:1.57	Wed Oct  2 13:32:35 2002
+++ llvm/lib/CWriter/Writer.cpp	Wed Oct  2 13:34:51 2002
@@ -1019,19 +1019,16 @@
 }
 
 void CWriter::visitLoadInst(LoadInst &I) {
-  //Out << "*";
   writeOperand(I.getOperand(0));
 }
 
 void CWriter::visitStoreInst(StoreInst &I) {
-  Out << "*";
   writeOperand(I.getPointerOperand());
   Out << " = ";
   writeOperand(I.getOperand(0));
 }
 
 void CWriter::visitGetElementPtrInst(GetElementPtrInst &I) {
-  //Out << "&";
   printIndexingExpression(I.getPointerOperand(), I.idx_begin(), I.idx_end());
 }
 





More information about the llvm-commits mailing list