diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-16 18:06:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-16 18:06:43 +0000 |
commit | c8717b1624bfdbca3183de1317be2f92a65106e5 (patch) | |
tree | 31faec89be6513371d2d95de09cc187a0d25f12c /include/llvm/Support | |
parent | 7eb8a523320d05d9318c957c9840cfbde3cf5b6d (diff) | |
download | external_llvm-c8717b1624bfdbca3183de1317be2f92a65106e5.zip external_llvm-c8717b1624bfdbca3183de1317be2f92a65106e5.tar.gz external_llvm-c8717b1624bfdbca3183de1317be2f92a65106e5.tar.bz2 |
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')
-rw-r--r-- | include/llvm/Support/InstVisitor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index c8e7cf9..a9b3b71 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);} |