Add new prototype for createLowerInvokePass(). Make simplifycfg be a
authorChris Lattner <sabre@nondot.org>
Sun, 5 Oct 2003 19:15:13 +0000 (19:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 5 Oct 2003 19:15:13 +0000 (19:15 +0000)
functionpass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8870 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Scalar.h

index 1c9a1299c0c40d7353786449e567a50a062be793..dde93c8c0346700ae2d2428ff7d46ff7d32898c5 100644 (file)
@@ -197,7 +197,7 @@ Pass *createTailDuplicationPass();
 // CFG Simplification - Merge basic blocks, eliminate unreachable blocks,
 // simplify terminator instructions, etc...
 //
-Pass *createCFGSimplificationPass();
+FunctionPass *createCFGSimplificationPass();
 
 
 //===----------------------------------------------------------------------===//
@@ -261,6 +261,15 @@ FunctionPass *createLowerAllocationsPass();
 //
 FunctionPass *createLowerSwitchPass();
 
+
+//===----------------------------------------------------------------------===//
+// This pass converts 'invoke' instructions calls, and 'unwind' instructions
+// into calls to abort().
+//
+FunctionPass *createLowerInvokePass();
+
+
+
 //===----------------------------------------------------------------------===//
 //
 // These functions removes symbols from functions and modules.