diff options
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 9033a65be2..75353a7d98 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -233,6 +233,10 @@ public: /// LoadObjCSelf - Load the value of self. This function is only /// valid while generating code for an Objective-C method. llvm::Value *LoadObjCSelf(); + + /// TypeOfSelfObject + /// Return type of object that this self represents. + QualType TypeOfSelfObject(); /// isObjCPointerType - Return true if the specificed AST type will map onto /// some Objective-C pointer type. @@ -521,7 +525,8 @@ public: const ObjCIvarDecl *Ivar); LValue EmitLValueForField(llvm::Value* Base, FieldDecl* Field, bool isUnion, unsigned CVRQualifiers); - LValue EmitLValueForIvar(llvm::Value* Base, const ObjCIvarDecl *Ivar, + LValue EmitLValueForIvar(QualType ObjectTy, + llvm::Value* Base, const ObjCIvarDecl *Ivar, const FieldDecl *Field, unsigned CVRQualifiers); |