aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-24 20:27:11 +0000
committerChris Lattner <sabre@nondot.org>2009-07-24 20:27:11 +0000
commitcd3d6e4815bb5cc6b3e21ed62b8561eec8fbfd37 (patch)
treee8bc70e3f97195aaccc6ac7793793e3154d84dcc /lib/Target
parent224957eaed1f5d3c5f496e79adc2c197372bd5c6 (diff)
downloadexternal_llvm-cd3d6e4815bb5cc6b3e21ed62b8561eec8fbfd37.zip
external_llvm-cd3d6e4815bb5cc6b3e21ed62b8561eec8fbfd37.tar.gz
external_llvm-cd3d6e4815bb5cc6b3e21ed62b8561eec8fbfd37.tar.bz2
fix some predicates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-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 b32be1d..3edbe93 100644
--- a/lib/Target/TargetAsmInfo.cpp
+++ b/lib/Target/TargetAsmInfo.cpp
@@ -341,7 +341,7 @@ TargetAsmInfo::SelectSectionForGlobal(const GlobalValue *GV,
if (Kind == SectionKind::Text)
return getTextSection();
- if (isBSS(Kind))
+ if (Kind == SectionKind::BSS)
if (const Section *S = getBSSSection_())
return S;