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
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index f469b97..e736fe5 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -206,6 +206,10 @@
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.