diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2010-12-26 22:13:16 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2010-12-26 22:13:16 +0000 |
commit | 8fac25d33b13e25f512dd921d4d5a4b565f5d175 (patch) | |
tree | a5cf55e1cac1cb8627840e240d69ccd5ec6752ec /lib/CodeGen/CGObjCRuntime.h | |
parent | c7ff82c2040f45eaad2eddea0e4461dddc972cd1 (diff) |
Add support for GNU runtime property set / get structure functions. Minor refactoring of Mac runtime (returns the same function for both, as the Mac runtimes currently only provide a single entry point for setting and getting struct properties, although this will presumably be fixed at some point).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCRuntime.h')
-rw-r--r-- | lib/CodeGen/CGObjCRuntime.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/CodeGen/CGObjCRuntime.h b/lib/CodeGen/CGObjCRuntime.h index c9b0c6d10c..4720040230 100644 --- a/lib/CodeGen/CGObjCRuntime.h +++ b/lib/CodeGen/CGObjCRuntime.h @@ -176,8 +176,10 @@ public: /// Return the runtime function for setting properties. virtual llvm::Constant *GetPropertySetFunction() = 0; - // API for atomic copying of qualified aggregates in setter/getter. - virtual llvm::Constant *GetCopyStructFunction() = 0; + // API for atomic copying of qualified aggregates in getter. + virtual llvm::Constant *GetGetStructFunction() = 0; + // API for atomic copying of qualified aggregates in setter. + virtual llvm::Constant *GetSetStructFunction() = 0; /// GetClass - Return a reference to the class for the given /// interface decl. |