aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGValue.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2008-11-21 18:14:01 +0000
committerFariborz Jahanian <fjahanian@apple.com>2008-11-21 18:14:01 +0000
commit2ab1968eb400331ffe47c560583326e4034aed4a (patch)
treecc11fbd18b298ff11dbb768e326e4a774ab3e849 /lib/CodeGen/CGValue.h
parentdc518e2a0ff07d6d3d22cd6ac9e8eb0cf5807cc1 (diff)
Fields of ivars of struct types are considered ivars
themselves for gc API generation purposes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGValue.h')
-rw-r--r--lib/CodeGen/CGValue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGValue.h b/lib/CodeGen/CGValue.h
index 3cf5d4a7d9..59cfc54c9d 100644
--- a/lib/CodeGen/CGValue.h
+++ b/lib/CodeGen/CGValue.h
@@ -168,8 +168,8 @@ public:
bool isObjCWeak() const { return ObjCType == Weak; }
bool isObjCStrong() const { return ObjCType == Strong; }
- static void SetObjCIvar(LValue& R) {
- R.Ivar = true;
+ static void SetObjCIvar(LValue& R, bool iValue) {
+ R.Ivar = iValue;
}
static void SetObjCType(bool isWeak, bool isStrong, LValue& R) {