diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-09-15 18:57:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-09-15 18:57:19 +0000 |
commit | ae270598d5c7a9a283d4b3ddce53b151c6e2b182 (patch) | |
tree | eff403deb9a8ac9a131264a7a146173f15dbac8a /lib/CodeGen/CodeGenFunction.h | |
parent | 4fdf97bf51d2a156cec3232efd6dae110aa02aa0 (diff) |
Refactor the load of the exception pointer and the exception selector from their
storage slot into helper functions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 89f0a7e94b..177e647b4d 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1121,6 +1121,11 @@ public: llvm::Value *getExceptionSlot(); llvm::Value *getEHSelectorSlot(); + /// Returns the contents of the function's exception object and selector + /// slots. + llvm::Value *getExceptionFromSlot(); + llvm::Value *getSelectorFromSlot(); + llvm::Value *getNormalCleanupDestSlot(); llvm::BasicBlock *getUnreachableBlock() { |