From 51c84d14ab4e57baea3c9ac55734119385810dbe Mon Sep 17 00:00:00 2001 From: Nick Hildenbrandt Date: Wed, 2 Oct 2002 18:34:51 +0000 Subject: [PATCH] Removed unneeded reference and dereferences. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4016 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/CBackend/CBackend.cpp | 3 --- lib/Target/CBackend/Writer.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 96bf16275bb..3fec7a407bb 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -1019,19 +1019,16 @@ void CWriter::printIndexingExpression(Value *Ptr, User::op_iterator I, } 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()); } diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index 96bf16275bb..3fec7a407bb 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/lib/Target/CBackend/Writer.cpp @@ -1019,19 +1019,16 @@ void CWriter::printIndexingExpression(Value *Ptr, User::op_iterator I, } 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()); }