summaryrefslogtreecommitdiff
path: root/include/llvm/Support/InstVisitor.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-16 18:06:43 +0000
committerChris Lattner <sabre@nondot.org>2004-10-16 18:06:43 +0000
commitc8717b1624bfdbca3183de1317be2f92a65106e5 (patch)
tree31faec89be6513371d2d95de09cc187a0d25f12c /include/llvm/Support/InstVisitor.h
parent7eb8a523320d05d9318c957c9840cfbde3cf5b6d (diff)
downloadllvm-c8717b1624bfdbca3183de1317be2f92a65106e5.tar.gz
llvm-c8717b1624bfdbca3183de1317be2f92a65106e5.tar.bz2
llvm-c8717b1624bfdbca3183de1317be2f92a65106e5.tar.xz
Add support for the unreachable instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/InstVisitor.h')
-rw-r--r--include/llvm/Support/InstVisitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h
index c8e7cf98d0..a9b3b71506 100644
--- a/include/llvm/Support/InstVisitor.h
+++ b/include/llvm/Support/InstVisitor.h
@@ -156,6 +156,7 @@ struct InstVisitor {
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);}