From ea18427d2939db2955efa621fcfaf5b0092ff263 Mon Sep 17 00:00:00 2001 From: Alex Reece Date: Tue, 7 Feb 2012 17:17:25 -0500 Subject: [PATCH] Remove UnwindInst Code no longer builds against head of LLVM branch after revision 149906 removed the unwind instruction. --- cbackend.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cbackend.cpp b/cbackend.cpp index 314b53d6..7f27f0cb 100644 --- a/cbackend.cpp +++ b/cbackend.cpp @@ -437,9 +437,11 @@ namespace { void visitInvokeInst(InvokeInst &I) { llvm_unreachable("Lowerinvoke pass didn't work!"); } +#if !defined(LLVM_3_1) && !defined(LLVM_3_1svn) void visitUnwindInst(UnwindInst &I) { llvm_unreachable("Lowerinvoke pass didn't work!"); } +#endif // !LLVM_3_1svn void visitResumeInst(ResumeInst &I) { llvm_unreachable("DwarfEHPrepare pass didn't work!"); }