Remove support for NOT instruction

llvm-svn: 3320
This commit is contained in:
Chris Lattner 2002-08-14 18:00:52 +00:00
parent c152083997
commit 119695e390

View File

@ -256,7 +256,6 @@ namespace {
void visitBranchInst(BranchInst &I); void visitBranchInst(BranchInst &I);
void visitPHINode(PHINode &I) {} void visitPHINode(PHINode &I) {}
void visitNot(GenericUnaryInst &I);
void visitBinaryOperator(Instruction &I); void visitBinaryOperator(Instruction &I);
void visitCastInst (CastInst &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) { void CWriter::visitBinaryOperator(Instruction &I) {
// binary instructions, shift instructions, setCond instructions. // binary instructions, shift instructions, setCond instructions.
if (isa<PointerType>(I.getType())) { if (isa<PointerType>(I.getType())) {