From d5cab5435371b8cc74a9e05ebd40b5995ebad149 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64387 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.cpp') diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 7192e9db2f..a3b79562d1 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/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-18-g5258