summaryrefslogtreecommitdiffstats
path: root/clang/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
commitfd346a3644816eb3513bf9e46162a21212d010b7 (patch)
tree5f96f5534dc984405bb71393cdc08afd5f6fe361 /clang/lib/CodeGen/CodeGenFunction.h
parent03490f0ce1cf10a55a34e18af810995f4f013781 (diff)
downloadbcm5719-llvm-fd346a3644816eb3513bf9e46162a21212d010b7.tar.gz
bcm5719-llvm-fd346a3644816eb3513bf9e46162a21212d010b7.zip
Pull EmitReturnBlock out of FinishFunction and catch unified return
case correctly. llvm-svn: 63068
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index f469b970dc3..e736fe5e167 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/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.
OpenPOWER on IntegriCloud