diff options
author | Mike Stump <mrs@apple.com> | 2009-12-14 21:58:14 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-12-14 21:58:14 +0000 |
commit | be07f60131bc6f8d6696f4644df1ef667a1730d5 (patch) | |
tree | 6eca40577a755c587bb6a86419e358e76a42bc4c /lib/CodeGen/CodeGenFunction.h | |
parent | 8c89ff9b0923083f4838d9c6fcf858e3aa311b40 (diff) |
Add support for detecting undefined shift behavior. WIP.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 8820e6ec8b..a44e53b4e3 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -425,6 +425,7 @@ private: unsigned getByRefValueLLVMField(const ValueDecl *VD) const; llvm::BasicBlock *TerminateHandler; + llvm::BasicBlock *AbortBB; int UniqueAggrDestructorCount; public: @@ -1194,6 +1195,10 @@ public: /// try to simplify the codegen of the conditional based on the branch. void EmitBranchOnBoolExpr(const Expr *Cond, llvm::BasicBlock *TrueBlock, llvm::BasicBlock *FalseBlock); + + /// getAbortBB - Create a basic block that will call abort. We'll generate + /// a branch around the created basic block as necessary. + llvm::BasicBlock* getAbortBB(); private: void EmitReturnOfRValue(RValue RV, QualType Ty); @@ -1267,11 +1272,6 @@ private: ArgType)); } } - - llvm::BasicBlock *AbortBB; - /// getAbortBB - Create a basic block that will call abort. We'll generate - /// a branch around the created basic block as necessary. - llvm::BasicBlock* getAbortBB(); }; |