diff options
author | John McCall <rjmccall@apple.com> | 2013-04-16 22:48:15 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2013-04-16 22:48:15 +0000 |
commit | c8e01705787c984838a16e66e2f9af017f5602a5 (patch) | |
tree | f5a692b406b0b4c72fa4a2e97b676a7bd56014b8 /clang/lib/CodeGen/CGDeclCXX.cpp | |
parent | 0d9dd73847a3ce679f7f17e113158e9ecb9ce04e (diff) | |
download | bcm5719-llvm-c8e01705787c984838a16e66e2f9af017f5602a5.tar.gz bcm5719-llvm-c8e01705787c984838a16e66e2f9af017f5602a5.zip |
Standardize accesses to the TargetInfo in IR-gen.
Patch by Stephen Lin!
llvm-svn: 179638
Diffstat (limited to 'clang/lib/CodeGen/CGDeclCXX.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDeclCXX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDeclCXX.cpp b/clang/lib/CodeGen/CGDeclCXX.cpp index fd766bf3deb..b18fe452967 100644 --- a/clang/lib/CodeGen/CGDeclCXX.cpp +++ b/clang/lib/CodeGen/CGDeclCXX.cpp @@ -232,7 +232,7 @@ CreateGlobalInitOrDestructFunction(CodeGenModule &CGM, if (!CGM.getLangOpts().AppleKext) { // Set the section if needed. if (const char *Section = - CGM.getContext().getTargetInfo().getStaticInitSectionSpecifier()) + CGM.getTarget().getStaticInitSectionSpecifier()) Fn->setSection(Section); } |