Move the personality function from LandingPadInst to Function
[oota-llvm.git] / include / llvm / Analysis / LibCallSemantics.h
index 0f0ca304fcc7b955c1e0d851ae8062c630fd0888..170e2a49a8ea59bc7825c231f9200a78cc993634 100644 (file)
@@ -206,7 +206,7 @@ class InvokeInst;
     llvm_unreachable("invalid enum");
   }
 
-  bool canSimplifyInvokeNoUnwind(const InvokeInst *II);
+  bool canSimplifyInvokeNoUnwind(const Function *F);
 
 } // end namespace llvm