From 6a60fa2428fa521cc9bbfc84d176e91389449460 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Thu, 12 Feb 2009 17:55:02 +0000 Subject: Add a very basic implemenation of global blocks. This needs to be cleaned up. llvm-svn: 64387 --- clang/lib/CodeGen/CodeGenModule.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 7192e9db2f25..a3b79562d140 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -35,7 +35,7 @@ CodeGenModule::CodeGenModule(ASTContext &C, const LangOptions &LO, Diagnostic &diags, bool GenerateDebugInfo) : Context(C), Features(LO), TheModule(M), TheTargetData(TD), Diags(diags), Types(C, M, TD), Runtime(0), MemCpyFn(0), MemMoveFn(0), MemSetFn(0), - CFConstantStringClassRef(0) { + CFConstantStringClassRef(0), NSConcreteGlobalBlock(0) { if (Features.ObjC1) { if (Features.NeXTRuntime) { @@ -1125,4 +1125,3 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) { assert(isa(D) && "Unsupported decl kind"); } } - -- cgit v1.2.3