summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CWriter/Writer.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CWriter/Writer.cpp b/llvm/lib/CWriter/Writer.cpp
index dd88653449c..e83ea9bc71c 100644
--- a/llvm/lib/CWriter/Writer.cpp
+++ b/llvm/lib/CWriter/Writer.cpp
@@ -256,7 +256,6 @@ namespace {
void visitBranchInst(BranchInst &I);
void visitPHINode(PHINode &I) {}
- void visitNot(GenericUnaryInst &I);
void visitBinaryOperator(Instruction &I);
void visitCastInst (CastInst &I);
@@ -637,11 +636,6 @@ void CWriter::visitBranchInst(BranchInst &I) {
}
-void CWriter::visitNot(GenericUnaryInst &I) {
- Out << "~";
- writeOperand(I.getOperand(0));
-}
-
void CWriter::visitBinaryOperator(Instruction &I) {
// binary instructions, shift instructions, setCond instructions.
if (isa<PointerType>(I.getType())) {
OpenPOWER on IntegriCloud