From 626aecc4be4432d642cc5bb098e33a85539c77ee Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 5 Mar 2009 01:23:13 +0000 Subject: Add codegen support for __block variables to call _Block_object_dispose as necessary. llvm-svn: 66117 --- clang/lib/CodeGen/CodeGenFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp') diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 0e9bf1a5bb9a..b8e01029f716 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); -- cgit v1.2.3