diff options
author | Anders Carlsson <andersca@mac.com> | 2009-02-12 17:55:02 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-02-12 17:55:02 +0000 |
commit | d5cab5435371b8cc74a9e05ebd40b5995ebad149 (patch) | |
tree | e8c27f453388860fb7126260764ca9f730c6053b /lib/CodeGen/CodeGenModule.cpp | |
parent | a30b17b90033f40bb909d630466c2a04499b7bf0 (diff) |
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
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<TypeDecl>(D) && "Unsupported decl kind"); } } - |