From 1f365bbf550f711ce46ce3790504d4f67b289a44 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Wed, 24 Sep 2008 22:16:33 +0000 Subject: Cleanup, no functionality change llvm-svn: 56576 --- llvm/lib/Target/DarwinTargetAsmInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Target/DarwinTargetAsmInfo.cpp') diff --git a/llvm/lib/Target/DarwinTargetAsmInfo.cpp b/llvm/lib/Target/DarwinTargetAsmInfo.cpp index 6a53b6b25a5..81a33420717 100644 --- a/llvm/lib/Target/DarwinTargetAsmInfo.cpp +++ b/llvm/lib/Target/DarwinTargetAsmInfo.cpp @@ -82,7 +82,7 @@ DarwinTargetAsmInfo::SelectSectionForGlobal(const GlobalValue *GV) const { if (isWeak) return TextCoalSection; else - return getTextSection(); + return TextSection; case SectionKind::Data: case SectionKind::ThreadData: case SectionKind::BSS: @@ -90,7 +90,7 @@ DarwinTargetAsmInfo::SelectSectionForGlobal(const GlobalValue *GV) const { if (cast(GV)->isConstant()) return (isWeak ? ConstDataCoalSection : ConstDataSection); else - return (isWeak ? DataCoalSection : getDataSection()); + return (isWeak ? DataCoalSection : DataSection); case SectionKind::ROData: return (isWeak ? ConstDataCoalSection : (isNonStatic ? ConstDataSection : getReadOnlySection_())); -- cgit v1.2.3