diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-07-27 06:17:14 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-07-27 06:17:14 +0000 |
| commit | 86b7255776646e6a185ccf1dca5a07ec14ca0dd2 (patch) | |
| tree | 90030a1fbb07ace6e8aecf78d03d44d0641b82f4 /llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp | |
| parent | b7130ed888483494474650f5f6b8e9f547baa5c8 (diff) | |
| download | bcm5719-llvm-86b7255776646e6a185ccf1dca5a07ec14ca0dd2.tar.gz bcm5719-llvm-86b7255776646e6a185ccf1dca5a07ec14ca0dd2.zip | |
Eliminate getNamed/getUnnamedSection, adding a new and unified getOrCreateSection
instead.
llvm-svn: 77186
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp b/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp index 9c90ff0c74f..26f4b3b9ee1 100644 --- a/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp +++ b/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp @@ -30,7 +30,7 @@ MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM) BSSSection = "\t.section\t.bss"; CStringSection = ".rodata.str"; - BSSSection_ = getUnnamedSection("\t.bss", SectionKind::BSS); + BSSSection_ = getOrCreateSection("\t.bss", true, SectionKind::BSS); if (!TM.getSubtarget<MipsSubtarget>().hasABICall()) JumpTableDirective = "\t.word\t"; |

