diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-24 04:26:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-24 04:26:19 +0000 |
commit | 68d64a2d906803eca73f3d393761627ddebcf396 (patch) | |
tree | 70ac2a77147b5594e191d28062114d728b2054fd /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 37e311a5707c9a67ec2c5ca6e8a5762f1502f055 (diff) | |
download | bcm5719-llvm-68d64a2d906803eca73f3d393761627ddebcf396.tar.gz bcm5719-llvm-68d64a2d906803eca73f3d393761627ddebcf396.zip |
document SectionFlags::Named better and make it more easily greppable by
eliminating isNamed.
llvm-svn: 76946
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index fe037058116..44d163617e9 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -135,7 +135,7 @@ void AsmPrinter::SwitchToSection(const Section* NS) { // If section is named we need to switch into it via special '.section' // directive and also append funky flags. Otherwise - section name is just // some magic assembler directive. - if (NS->isNamed()) + if (NS->hasFlag(SectionFlags::Named)) O << TAI->getSwitchToSectionDirective() << CurrentSection << TAI->getSectionFlags(NS->getFlags()); |