diff options
author | Mike Stump <mrs@apple.com> | 2009-12-04 23:26:17 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-12-04 23:26:17 +0000 |
commit | 6a1e0eb557d47e85185e09bdf8721f53f4bf9c9c (patch) | |
tree | 11326ea59ddc53b3625bec76508ff04c0ee2392d /lib/CodeGen/CodeGenFunction.h | |
parent | ed97649e9574b9d854fa4d6109c9333ae0993554 (diff) |
Add support for function try blocks.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index bf791abfbc..8a386dec8c 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -88,6 +88,12 @@ public: QualType FnRetTy; llvm::Function *CurFn; + /// CurGD - The GlobalDecl for the current function being compiled. + GlobalDecl CurGD; + /// OuterTryBlock - This is the address of the outter most try block, 0 + /// otherwise. + const Stmt *OuterTryBlock; + /// ReturnBlock - Unified return block. llvm::BasicBlock *ReturnBlock; /// ReturnValue - The temporary alloca to hold the return value. This is null |