Remove support for unary instructions
authorChris Lattner <sabre@nondot.org>
Wed, 14 Aug 2002 18:18:28 +0000 (18:18 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 14 Aug 2002 18:18:28 +0000 (18:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3324 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/InstVisitor.h

index 1876415f137f2fea84847847ca094d607dc853b8..93f1a855fa73834a143399a67bd7d4a432495709 100644 (file)
@@ -52,7 +52,7 @@
 #include "llvm/Instruction.def"
 
 // Forward declare the intermediate types...
-class TerminatorInst; class UnaryOperator; class BinaryOperator;
+class TerminatorInst; class BinaryOperator;
 class AllocationInst; class MemAccessInst;
 
 
@@ -158,7 +158,6 @@ struct InstVisitor {
   RetTy visitBranchInst(BranchInst &I)              { DELEGATE(TerminatorInst);}
   RetTy visitSwitchInst(SwitchInst &I)              { DELEGATE(TerminatorInst);}
   RetTy visitInvokeInst(InvokeInst &I)              { DELEGATE(TerminatorInst);}
-  RetTy visitGenericUnaryInst(GenericUnaryInst &I)  { DELEGATE(UnaryOperator); }
   RetTy visitGenericBinaryInst(GenericBinaryInst &I){ DELEGATE(BinaryOperator);}
   RetTy visitSetCondInst(SetCondInst &I)            { DELEGATE(BinaryOperator);}
   RetTy visitMallocInst(MallocInst &I)              { DELEGATE(AllocationInst);}
@@ -177,7 +176,6 @@ struct InstVisitor {
   // of instructions...
   //
   RetTy visitTerminatorInst(TerminatorInst &I) { DELEGATE(Instruction); }
-  RetTy visitUnaryOperator (UnaryOperator  &I) { DELEGATE(Instruction); }
   RetTy visitBinaryOperator(BinaryOperator &I) { DELEGATE(Instruction); }
   RetTy visitAllocationInst(AllocationInst &I) { DELEGATE(Instruction); }
   RetTy visitMemAccessInst (MemAccessInst  &I) { DELEGATE(Instruction); }