Rename AttributeSets to AttributeGroups so that it's more meaningful.
llvm-svn: 174911
diff --git a/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp b/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
index 9f7e17b..5822586 100644
--- a/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
+++ b/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
@@ -431,10 +431,10 @@
// Do lookups for all attribute groups.
for (unsigned i = 0, e = PAL.getNumSlots(); i != e; ++i) {
AttributeSet AS = PAL.getSlotAttributes(i);
- unsigned &Entry = AttributeSetMap[AS];
+ unsigned &Entry = AttributeGroupMap[AS];
if (Entry == 0) {
- AttributeSets.push_back(AS);
- Entry = AttributeSets.size();
+ AttributeGroups.push_back(AS);
+ Entry = AttributeGroups.size();
}
}
}