summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCGNU.cpp
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2012-07-03 20:49:52 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2012-07-03 20:49:52 +0000
commitb601c96892254f06c64e2376cfd124e461586975 (patch)
tree2aedcecc8cb9d63dc2d34f8a894fc710de64c02b /clang/lib/CodeGen/CGObjCGNU.cpp
parent1e148fe064bbb65ae1fcdc893db0e7af781ad20b (diff)
downloadbcm5719-llvm-b601c96892254f06c64e2376cfd124e461586975.tar.gz
bcm5719-llvm-b601c96892254f06c64e2376cfd124e461586975.zip
Rename the GCC Objective-C runtime to gcc from gnu-fragile and the GNUstep
runtime to gnustep from gnu. Fix EH for the GCC runtime. llvm-svn: 159684
Diffstat (limited to 'clang/lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r--clang/lib/CodeGen/CGObjCGNU.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp
index a949436e859..686fb051b70 100644
--- a/clang/lib/CodeGen/CGObjCGNU.cpp
+++ b/clang/lib/CodeGen/CGObjCGNU.cpp
@@ -2666,10 +2666,10 @@ llvm::Value *CGObjCGNU::EmitIvarOffset(CodeGenFunction &CGF,
CGObjCRuntime *
clang::CodeGen::CreateGNUObjCRuntime(CodeGenModule &CGM) {
switch (CGM.getLangOpts().ObjCRuntime.getKind()) {
- case ObjCRuntime::GNU:
+ case ObjCRuntime::GNUstep:
return new CGObjCGNUstep(CGM);
- case ObjCRuntime::FragileGNU:
+ case ObjCRuntime::GCC:
return new CGObjCGCC(CGM);
case ObjCRuntime::FragileMacOSX:
OpenPOWER on IntegriCloud