aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGValue.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-09-21 18:54:29 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-09-21 18:54:29 +0000
commitfd02ed702e754f8dd0b4c979325ba99c2234f270 (patch)
tree034a170efb1a31a3d728c1259f95fc67f2717705 /lib/CodeGen/CGValue.h
parent3e1005f085006dfb3545f0c54ac5e22483137c7d (diff)
Miscellanous fixes in generatation of objc gc's write-barriers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82472 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGValue.h')
-rw-r--r--lib/CodeGen/CGValue.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/CodeGen/CGValue.h b/lib/CodeGen/CGValue.h
index af034a7ad5..d9dd94d4a6 100644
--- a/lib/CodeGen/CGValue.h
+++ b/lib/CodeGen/CGValue.h
@@ -154,7 +154,7 @@ class LValue {
bool Ivar:1;
// objective-c's ivar is an array
- bool IvarArray:1;
+ bool ObjIsArray:1;
// LValue is non-gc'able for any reason, including being a parameter or local
// variable.
@@ -176,7 +176,7 @@ private:
// FIXME: Convenient place to set objc flags to 0. This should really be
// done in a user-defined constructor instead.
R.ObjCType = None;
- R.Ivar = R.IvarArray = R.NonGC = R.GlobalObjCRef = false;
+ R.Ivar = R.ObjIsArray = R.NonGC = R.GlobalObjCRef = false;
}
public:
@@ -195,7 +195,7 @@ public:
}
bool isObjCIvar() const { return Ivar; }
- bool isObjCIvarArray() const { return IvarArray; }
+ bool isObjCArray() const { return ObjIsArray; }
bool isNonGC () const { return NonGC; }
bool isGlobalObjCRef() const { return GlobalObjCRef; }
bool isObjCWeak() const { return ObjCType == Weak; }
@@ -206,8 +206,8 @@ public:
static void SetObjCIvar(LValue& R, bool iValue) {
R.Ivar = iValue;
}
- static void SetObjCIvarArray(LValue& R, bool iValue) {
- R.IvarArray = iValue;
+ static void SetObjCArray(LValue& R, bool iValue) {
+ R.ObjIsArray = iValue;
}
static void SetGlobalObjCRef(LValue& R, bool iValue) {
R.GlobalObjCRef = iValue;