fix some predicates


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76999 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@
   if (Kind == SectionKind::Text)
     return getTextSection();
   
-  if (isBSS(Kind))
+  if (Kind == SectionKind::BSS)
     if (const Section *S = getBSSSection_())
       return S;