summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCMac.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-10-19 17:19:29 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-10-19 17:19:29 +0000
commit50c925fe967754666400ccfec251ebd2b7cc62b0 (patch)
tree2e0d9bff11a89b6801035574143792763da5d8f8 /clang/lib/CodeGen/CGObjCMac.cpp
parentf0873f4c853c0df10a41dd55f4fdda8a86b8ea99 (diff)
downloadbcm5719-llvm-50c925fe967754666400ccfec251ebd2b7cc62b0.tar.gz
bcm5719-llvm-50c925fe967754666400ccfec251ebd2b7cc62b0.zip
This patch implements Next's IRGen for -fconstant-string-class=class-name.
PR6056, //rdar: //8564463 llvm-svn: 116819
Diffstat (limited to 'clang/lib/CodeGen/CGObjCMac.cpp')
-rw-r--r--clang/lib/CodeGen/CGObjCMac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp
index 72953ce9249..9ed3733a666 100644
--- a/clang/lib/CodeGen/CGObjCMac.cpp
+++ b/clang/lib/CodeGen/CGObjCMac.cpp
@@ -1520,7 +1520,7 @@ llvm::Constant *CGObjCCommonMac::GenerateConstantString(
const StringLiteral *SL) {
return (CGM.getLangOptions().NoConstantCFStrings == 0 ?
CGM.GetAddrOfConstantCFString(SL) :
- CGM.GetAddrOfConstantNSString(SL));
+ CGM.GetAddrOfConstantString(SL));
}
/// Generates a message send where the super is the receiver. This is
OpenPOWER on IntegriCloud