aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGValue.h
diff options
context:
space:
mode:
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) {