diff options
author | John McCall <rjmccall@apple.com> | 2010-12-04 02:32:38 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-12-04 02:32:38 +0000 |
commit | 119a1c6c4029d30cae7b31a2826aa0ff70d01668 (patch) | |
tree | eaec3cc289e887d12238c3f9b47d706f7312db0a /lib/CodeGen/CodeGenFunction.h | |
parent | 91252d115bdb6f937192a8dbc86c5abe00101436 (diff) |
Kill the KVC l-value kind and calculate the base expression when emitting
the l-value.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index e8de03a56a..44124cb511 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1382,9 +1382,8 @@ public: RValue EmitLoadOfLValue(LValue V, QualType LVType); RValue EmitLoadOfExtVectorElementLValue(LValue V, QualType LVType); RValue EmitLoadOfBitfieldLValue(LValue LV, QualType ExprType); - RValue EmitLoadOfPropertyRefLValue(LValue LV, QualType ExprType); - RValue EmitLoadOfKVCRefLValue(LValue LV, QualType ExprType); - + RValue EmitLoadOfPropertyRefLValue(LValue LV, + ReturnValueSlot Return = ReturnValueSlot()); /// EmitStoreThroughLValue - Store the specified rvalue into the specified /// lvalue, where both are guaranteed to the have the same type, and that type @@ -1392,8 +1391,7 @@ public: void EmitStoreThroughLValue(RValue Src, LValue Dst, QualType Ty); void EmitStoreThroughExtVectorComponentLValue(RValue Src, LValue Dst, QualType Ty); - void EmitStoreThroughPropertyRefLValue(RValue Src, LValue Dst, QualType Ty); - void EmitStoreThroughKVCRefLValue(RValue Src, LValue Dst, QualType Ty); + void EmitStoreThroughPropertyRefLValue(RValue Src, LValue Dst); /// EmitStoreThroughLValue - Store Src into Dst with same constraints as /// EmitStoreThroughLValue. @@ -1544,11 +1542,8 @@ public: llvm::Value *EmitObjCSelectorExpr(const ObjCSelectorExpr *E); RValue EmitObjCMessageExpr(const ObjCMessageExpr *E, ReturnValueSlot Return = ReturnValueSlot()); - RValue EmitObjCPropertyGet(const ObjCPropertyRefExpr *E, - ReturnValueSlot Return = ReturnValueSlot()); RValue EmitObjCSuperPropertyGet(const Expr *Exp, const Selector &S, ReturnValueSlot Return = ReturnValueSlot()); - void EmitObjCPropertySet(const ObjCPropertyRefExpr *E, RValue Src); void EmitObjCSuperPropertySet(const Expr *E, const Selector &S, RValue Src); |