summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-14 18:18:28 +0000
committerChris Lattner <sabre@nondot.org>2002-08-14 18:18:28 +0000
commit875d512b4951d98177142c3e7ccce704a7626a3c (patch)
treeb036bb7948f4dafa142a471b845bab059ade5d1f
parentb193ff8f708ccf3f9d5beaf9ed4d32801f00c2be (diff)
downloadbcm5719-llvm-875d512b4951d98177142c3e7ccce704a7626a3c.tar.gz
bcm5719-llvm-875d512b4951d98177142c3e7ccce704a7626a3c.zip
Remove support for unary instructions
llvm-svn: 3324
-rw-r--r--llvm/include/llvm/Support/InstVisitor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/InstVisitor.h b/llvm/include/llvm/Support/InstVisitor.h
index 1876415f137..93f1a855fa7 100644
--- a/llvm/include/llvm/Support/InstVisitor.h
+++ b/llvm/include/llvm/Support/InstVisitor.h
@@ -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); }
OpenPOWER on IntegriCloud