diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-19 02:13:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-19 02:13:06 +0000 |
commit | 6e3be14be4eadd9aefea654611c808eea9eb8aea (patch) | |
tree | ba2be5f8764b9f1da6e5283c7052b3718561d9e4 /lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | |
parent | aac138e84dee1cb3ffc1035b2a1e4361fe0b4f80 (diff) |
change an accessor to a predicate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp')
-rw-r--r-- | lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp index 30f9fec867..2ba940bb49 100644 --- a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp @@ -1205,8 +1205,8 @@ void ARMAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) { // emission. if (GVKind.isBSS() && MAI->hasMachoZeroFillDirective()) { TargetLoweringObjectFileMachO &TLOFMacho = - static_cast<TargetLoweringObjectFileMachO &>(getObjFileLowering()); - if (TheSection == TLOFMacho.getDataCommonSection()) { + static_cast<TargetLoweringObjectFileMachO &>(getObjFileLowering()); + if (TLOFMacho.isDataCommonSection(TheSection)) { // .globl _foo OutStreamer.EmitSymbolAttribute(GVarSym, MCStreamer::Global); // .zerofill __DATA, __common, _foo, 400, 5 |