Add a very basic implemenation of global blocks. This needs to be cleaned up.

llvm-svn: 64387
This commit is contained in:
Anders Carlsson
2009-02-12 17:55:02 +00:00
parent 13de253bd6
commit 6a60fa2428
6 changed files with 154 additions and 13 deletions

View File

@@ -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");
}
}