]> granicus.if.org Git - clang/commitdiff
Removes a FIXME.
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 13 Apr 2010 18:43:37 +0000 (18:43 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 13 Apr 2010 18:43:37 +0000 (18:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101161 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjC.cpp

index c40fe939b655e96623cdb9f8ec6c23bfe7fb22fb..ce9638850764e01b4fbb0a1c9f86eb228d385a0f 100644 (file)
@@ -232,11 +232,9 @@ void CodeGenFunction::GenerateObjCGetter(ObjCImplementationDecl *IMP,
           llvm::ConstantInt::get(Types.ConvertType(getContext().LongTy), Size);
         Args.push_back(std::make_pair(RValue::get(SizeVal),
                                       getContext().LongTy));
-        // FIXME. Implement when Atomic is false; But when struct has
-        // gc'able data member!
         llvm::Value *isAtomic =
-        llvm::ConstantInt::get(Types.ConvertType(getContext().BoolTy), 
-                               IsAtomic ? 1 : 0);
+          llvm::ConstantInt::get(Types.ConvertType(getContext().BoolTy), 
+                                 IsAtomic ? 1 : 0);
         Args.push_back(std::make_pair(RValue::get(isAtomic), 
                                       getContext().BoolTy));
         llvm::Value *hasStrong =