Add a very basic implemenation of global blocks. This needs to be cleaned up.
llvm-svn: 64387
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user