summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-03-05 01:23:13 +0000
committerMike Stump <mrs@apple.com>2009-03-05 01:23:13 +0000
commit626aecc4be4432d642cc5bb098e33a85539c77ee (patch)
treee8edd1af431005e82631fcb2b43b7acb3f40157b /clang/lib/CodeGen/CodeGenFunction.cpp
parent0bf1ded7bddd11ddf050b403ef75f5778da512ec (diff)
downloadbcm5719-llvm-626aecc4be4432d642cc5bb098e33a85539c77ee.tar.gz
bcm5719-llvm-626aecc4be4432d642cc5bb098e33a85539c77ee.zip
Add codegen support for __block variables to call _Block_object_dispose as necessary.
llvm-svn: 66117
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 0e9bf1a5bb9..b8e01029f71 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -24,7 +24,7 @@ using namespace clang;
using namespace CodeGen;
CodeGenFunction::CodeGenFunction(CodeGenModule &cgm)
- : BlockFunction(Builder), CGM(cgm), Target(CGM.getContext().Target),
+ : BlockFunction(cgm, Builder), CGM(cgm), Target(CGM.getContext().Target),
DebugInfo(0), SwitchInsn(0), CaseRangeBlock(0), InvokeDest(0) {
LLVMIntTy = ConvertType(getContext().IntTy);
LLVMPointerWidth = Target.getPointerWidth(0);
OpenPOWER on IntegriCloud