[cfe-commits] r101161 - /cfe/trunk/lib/CodeGen/CGObjC.cpp

Fariborz Jahanian fjahanian at apple.com
Tue Apr 13 11:43:37 PDT 2010


Author: fjahanian
Date: Tue Apr 13 13:43:37 2010
New Revision: 101161

URL: http://llvm.org/viewvc/llvm-project?rev=101161&view=rev
Log:
Removes a FIXME.

Modified:
    cfe/trunk/lib/CodeGen/CGObjC.cpp

Modified: cfe/trunk/lib/CodeGen/CGObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjC.cpp?rev=101161&r1=101160&r2=101161&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjC.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjC.cpp Tue Apr 13 13:43:37 2010
@@ -232,11 +232,9 @@
           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 =





More information about the cfe-commits mailing list