summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/DarwinTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-09-24 22:16:33 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-09-24 22:16:33 +0000
commit1f365bbf550f711ce46ce3790504d4f67b289a44 (patch)
tree9ed64e03ce33c866a820015af26f73a64bf60e4c /llvm/lib/Target/DarwinTargetAsmInfo.cpp
parent7497762606c7b1e88c8303214675a8f3b085a530 (diff)
downloadbcm5719-llvm-1f365bbf550f711ce46ce3790504d4f67b289a44.tar.gz
bcm5719-llvm-1f365bbf550f711ce46ce3790504d4f67b289a44.zip
Cleanup, no functionality change
llvm-svn: 56576
Diffstat (limited to 'llvm/lib/Target/DarwinTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/DarwinTargetAsmInfo.cpp4
1 files changed, 2 insertions, 2 deletions
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<GlobalVariable>(GV)->isConstant())
return (isWeak ? ConstDataCoalSection : ConstDataSection);
else
- return (isWeak ? DataCoalSection : getDataSection());
+ return (isWeak ? DataCoalSection : DataSection);
case SectionKind::ROData:
return (isWeak ? ConstDataCoalSection :
(isNonStatic ? ConstDataSection : getReadOnlySection_()));
OpenPOWER on IntegriCloud