diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-09-24 03:38:44 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-09-24 03:38:44 +0000 |
commit | 49f6602707887eea1a558a1dffe0213102f887f2 (patch) | |
tree | 984d63975c2fb0f03ec00fe04bc78f21d4a1940c /lib/CodeGen/CGObjCRuntime.h | |
parent | 0fb1d15c37ed26dc24e477fd80df4b0f7872b4ed (diff) |
Add Obj-C runtime methods to get runtime specific functions for
implementing property access.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCRuntime.h')
-rw-r--r-- | lib/CodeGen/CGObjCRuntime.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/CGObjCRuntime.h b/lib/CodeGen/CGObjCRuntime.h index c8efc5263a..fe3032193d 100644 --- a/lib/CodeGen/CGObjCRuntime.h +++ b/lib/CodeGen/CGObjCRuntime.h @@ -118,6 +118,12 @@ public: // parameters are passed. virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD) = 0; + /// Return the runtime function for getting properties. + virtual llvm::Function *GetPropertyGetFunction() = 0; + + /// Return the runtime function for setting properties. + virtual llvm::Function *GetPropertySetFunction() = 0; + /// GetClass - Return a reference to the class for the given /// interface decl. virtual llvm::Value *GetClass(BuilderType &Builder, |