diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-10-19 17:19:29 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-10-19 17:19:29 +0000 |
commit | 50c925fe967754666400ccfec251ebd2b7cc62b0 (patch) | |
tree | 2e0d9bff11a89b6801035574143792763da5d8f8 /clang/lib/CodeGen/CGObjCMac.cpp | |
parent | f0873f4c853c0df10a41dd55f4fdda8a86b8ea99 (diff) | |
download | bcm5719-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.cpp | 2 |
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 |