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 | 6a60fa2428fa521cc9bbfc84d176e91389449460 (patch) | |
tree | 55c9ef093c709059bfffcd8cd59a874737d702bb /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 13de253bd6a62c78f0f8af2a2b3b035c82939700 (diff) | |
download | bcm5719-llvm-6a60fa2428fa521cc9bbfc84d176e91389449460.tar.gz bcm5719-llvm-6a60fa2428fa521cc9bbfc84d176e91389449460.zip |
Add a very basic implemenation of global blocks. This needs to be cleaned up.
llvm-svn: 64387
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 7192e9db2f2..a3b79562d14 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<TypeDecl>(D) && "Unsupported decl kind"); } } - |