[llvm-branch-commits] [llvm-branch] r135987 - /llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h
Bill Wendling
isanbard at gmail.com
Mon Jul 25 15:16:51 PDT 2011
Author: void
Date: Mon Jul 25 17:16:51 2011
New Revision: 135987
URL: http://llvm.org/viewvc/llvm-project?rev=135987&view=rev
Log:
And add an accessor method to get the personality function.
Modified:
llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h
Modified: llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h?rev=135987&r1=135986&r2=135987&view=diff
==============================================================================
--- llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h (original)
+++ llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h Mon Jul 25 17:16:51 2011
@@ -1862,6 +1862,10 @@
/// Provide fast operand accessors
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
+ /// getPersonalityFn - Get the personality function associated with this
+ /// landing pad.
+ const Value *getPersonalityFn() const { return getOperand(0); }
+
/// addCatchTypes - Add catch types to the landing pad.
void addCatchClauses(ArrayRef<Value*> Catches);
More information about the llvm-branch-commits
mailing list