aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-02-03 00:09:52 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-02-03 00:09:52 +0000
commit45012a7ef5abf1042c893f3f2fa5c23cb5485ea9 (patch)
treeb46917390c26e701aeeafdcd05ccafc5d3fcbbe0 /lib/CodeGen/CodeGenFunction.h
parent40a6be686e5d5bb4198f1affda574e8a4b3a7710 (diff)
objc2's ir-gen for nonfragile ivar access.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h7
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);