[llvm-commits] CVS: llvm/include/llvm/Support/InstVisitor.h

Chris Lattner lattner at cs.uiuc.edu
Sat Oct 16 11:06:34 PDT 2004



Changes in directory llvm/include/llvm/Support:

InstVisitor.h updated: 1.31 -> 1.32
---
Log message:

Add support for the unreachable instruction



---
Diffs of the changes:  (+1 -0)

Index: llvm/include/llvm/Support/InstVisitor.h
diff -u llvm/include/llvm/Support/InstVisitor.h:1.31 llvm/include/llvm/Support/InstVisitor.h:1.32
--- llvm/include/llvm/Support/InstVisitor.h:1.31	Sun May 23 15:54:39 2004
+++ llvm/include/llvm/Support/InstVisitor.h	Sat Oct 16 13:06:23 2004
@@ -156,6 +156,7 @@
   RetTy visitSwitchInst(SwitchInst &I)              { DELEGATE(TerminatorInst);}
   RetTy visitInvokeInst(InvokeInst &I)              { DELEGATE(TerminatorInst);}
   RetTy visitUnwindInst(UnwindInst &I)              { DELEGATE(TerminatorInst);}
+  RetTy visitUnreachableInst(UnreachableInst &I)    { DELEGATE(TerminatorInst);}
   RetTy visitSetCondInst(SetCondInst &I)            { DELEGATE(BinaryOperator);}
   RetTy visitMallocInst(MallocInst &I)              { DELEGATE(AllocationInst);}
   RetTy visitAllocaInst(AllocaInst &I)              { DELEGATE(AllocationInst);}






More information about the llvm-commits mailing list