aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-01-26 23:27:52 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-01-26 23:27:52 +0000
commit1c1d6074f5a0296dd273362655b1b8f9057289e3 (patch)
tree416837c36ee5eff9a9d59f4dd51368d36539f63f /lib/CodeGen/CodeGenFunction.h
parentf6317dd7da4a3de06a45cba3ed9d47e6877b4cca (diff)
Pull EmitReturnBlock out of FinishFunction and catch unified return
case correctly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index f469b970dc..e736fe5e16 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -206,6 +206,10 @@ public:
const FunctionArgList &Args,
SourceLocation StartLoc);
+ /// EmitReturnBlock - Emit the unified return block, trying to avoid
+ /// its emission when possible.
+ void EmitReturnBlock();
+
/// FinishFunction - Complete IR generation of the current
/// function. It is legal to call this function even if there is no
/// current insertion point.