Refactoring ObjC Next's runtime classes in preparation for
the new ObjC's abi. llvm-svn: 62721
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user