diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-01-21 22:04:16 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-01-21 22:04:16 +0000 |
commit | ee0af74d1e0990c7b66d32657f3e4e54b8691552 (patch) | |
tree | 428fa3def467207c220b7f847e93b1b3b7d2948c /lib/CodeGen/CodeGenModule.cpp | |
parent | 80d0c892c7ca163c0f8b1546c866caaefb7ef559 (diff) |
Refactoring ObjC Next's runtime classes in preparation for
the new ObjC's abi.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 7856b076d2..79f00dec97 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -39,7 +39,8 @@ CodeGenModule::CodeGenModule(ASTContext &C, const LangOptions &LO, if (Features.ObjC1) { if (Features.NeXTRuntime) { - Runtime = CreateMacObjCRuntime(*this); + Runtime = Features.ObjCModernABI ? CreateMacModernObjCRuntime(*this) + : CreateMacObjCRuntime(*this); } else { Runtime = CreateGNUObjCRuntime(*this); } |