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 | 79a70e42b0baf4001e896dc640b95113f44b93bd (patch) | |
tree | c5b914d233cb756c5244f88df572220ada493336 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 921f04924f8d60c6405bf301c99aaea37450b524 (diff) | |
download | bcm5719-llvm-79a70e42b0baf4001e896dc640b95113f44b93bd.tar.gz bcm5719-llvm-79a70e42b0baf4001e896dc640b95113f44b93bd.zip |
Refactor the load of the exception pointer and the exception selector from their
storage slot into helper functions.
llvm-svn: 139826
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 89f0a7e94bb..177e647b4d1 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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() { |