aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-24 03:49:17 +0000
committerChris Lattner <sabre@nondot.org>2009-07-24 03:49:17 +0000
commitfb3431aec52f1d4d9305159d9f4e652c81b4d9fb (patch)
tree7f809ccbb23ed27047ce4d3fa61442e0a79a83de /lib/Target/TargetAsmInfo.cpp
parent083a1e059768f6844b9f5292223bb49ad24f52d1 (diff)
reduce api exposure: clients shouldn't call SectionKindForGlobal directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetAsmInfo.cpp')
-rw-r--r--lib/Target/TargetAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp
index 89c80091ec..bf543cc4ec 100644
--- a/lib/Target/TargetAsmInfo.cpp
+++ b/lib/Target/TargetAsmInfo.cpp
@@ -222,7 +222,7 @@ TargetAsmInfo::SectionKindForGlobal(const GlobalValue *GV) const {
}
// Variable either is not constant or thread-local - output to data section.
- return (isThreadLocal ? SectionKind::ThreadData : SectionKind::Data);
+ return isThreadLocal ? SectionKind::ThreadData : SectionKind::Data;
}
unsigned