summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-04-13 18:43:37 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-04-13 18:43:37 +0000
commit5e575c03b8d5377986355306e00727e2dae69ac4 (patch)
tree23bfc33f7e643d38caf09e8e77c6805ab454b7c6 /clang/lib/CodeGen
parent6b2b064d7ace36ec2131122168bbab5b10b2163b (diff)
downloadbcm5719-llvm-5e575c03b8d5377986355306e00727e2dae69ac4.tar.gz
bcm5719-llvm-5e575c03b8d5377986355306e00727e2dae69ac4.zip
Removes a FIXME.
llvm-svn: 101161
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGObjC.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp
index c40fe939b65..ce963885076 100644
--- a/clang/lib/CodeGen/CGObjC.cpp
+++ b/clang/lib/CodeGen/CGObjC.cpp
@@ -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 =
OpenPOWER on IntegriCloud