summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CWriter/Writer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-14 18:00:52 +0000
committerChris Lattner <sabre@nondot.org>2002-08-14 18:00:52 +0000
commit7a7405156631f7d708f23b4c4e1a1ef1064dcf9f (patch)
treed66bfd058f898ba32a92b1b428d8e64bb2fa0d5e /llvm/lib/CWriter/Writer.cpp
parentcd09f750bf8ee8fb58cd4b6d8fdb1c866b70d75d (diff)
downloadbcm5719-llvm-7a7405156631f7d708f23b4c4e1a1ef1064dcf9f.tar.gz
bcm5719-llvm-7a7405156631f7d708f23b4c4e1a1ef1064dcf9f.zip
Remove support for NOT instruction
llvm-svn: 3320
Diffstat (limited to 'llvm/lib/CWriter/Writer.cpp')
-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