diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-27 05:32:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-27 05:32:16 +0000 |
commit | 149465ea06451b9ec1881347b2dccd311ab32576 (patch) | |
tree | 67380d89f607e4f46c879187360723f98bca45ec /llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp | |
parent | 4ead0b9e1cfe52925dd9a8fef2ea9845396947df (diff) | |
download | bcm5719-llvm-149465ea06451b9ec1881347b2dccd311ab32576.tar.gz bcm5719-llvm-149465ea06451b9ec1881347b2dccd311ab32576.zip |
Eliminate SectionFlags, just embed a SectionKind into Section
instead and drive things based off of that.
llvm-svn: 77184
Diffstat (limited to 'llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp index 88663c488bf..bc0a7941543 100644 --- a/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp +++ b/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp @@ -899,7 +899,7 @@ void PPCDarwinAsmPrinter::PrintGlobalVariable(const GlobalVariable *GVar) { (GVar->hasLocalLinkage() || GVar->hasExternalLinkage() || GVar->isWeakForLinker()) && // Don't put things that should go in the cstring section into "comm". - !TheSection->hasFlag(SectionFlags::Strings)) { + !TheSection->getKind().isMergeableCString()) { if (Size == 0) Size = 1; // .comm Foo, 0 is undefined, avoid it. if (GVar->hasExternalLinkage()) { |