Pull EmitReturnBlock out of FinishFunction and catch unified return
case correctly.
llvm-svn: 63068
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index f469b97..e736fe5 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/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.