diff options
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 04d64e4ee1..d482086e1a 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -226,6 +226,11 @@ public: void EmitBlock(llvm::BasicBlock *BB); + /// EmitBranch - Emit a branch to the specified basic block from the + /// current insert block, taking care to avoid creation of branches + /// from dummy blocks. + void EmitBranch(llvm::BasicBlock *Block); + /// EmitDummyBlock - Emit a new block which will never be branched /// to. This is used to satisfy the invariant that codegen always /// has an active unterminated block to dump code into. |