From b498cce6b2e2f89596aba9d0f281c1684a73fb46 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 10 May 2002 18:53:55 +0000 Subject: [PATCH] Add explicit abort so optimized build knows that the function does not return git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2605 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/InstVisitor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index e4937e10e6b..66992396b14 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -101,6 +101,7 @@ struct InstVisitor { #include "llvm/Instruction.def" default: assert(0 && "Unknown instruction type encountered!"); + abort(); } } -- 2.34.1