From e3d76d37e972d6f7b1335a3944ce31ae8f4cd3c9 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 24 Sep 2008 00:55:02 +0000 Subject: s/ParamAttrsWithIndex/FnAttributeWithIndex/g git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56535 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bitcode/Reader/BitcodeReader.cpp | 4 ++-- lib/Bitcode/Writer/BitcodeWriter.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Bitcode') diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index cfe2ba9544..820a1e3847 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp @@ -322,7 +322,7 @@ bool BitcodeReader::ParseParamAttrBlock() { SmallVector Record; - SmallVector Attrs; + SmallVector Attrs; // Read all the records. while (1) { @@ -357,7 +357,7 @@ bool BitcodeReader::ParseParamAttrBlock() { for (unsigned i = 0, e = Record.size(); i != e; i += 2) { if (Record[i+1] != ParamAttr::None) - Attrs.push_back(ParamAttrsWithIndex::get(Record[i], Record[i+1])); + Attrs.push_back(FnAttributeWithIndex::get(Record[i], Record[i+1])); } ParamAttrs.push_back(PAListPtr::get(Attrs.begin(), Attrs.end())); diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index 931e944a41..baacbddf96 100644 --- a/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -119,7 +119,7 @@ static void WriteParamAttrTable(const ValueEnumerator &VE, for (unsigned i = 0, e = Attrs.size(); i != e; ++i) { const PAListPtr &A = Attrs[i]; for (unsigned i = 0, e = A.getNumSlots(); i != e; ++i) { - const ParamAttrsWithIndex &PAWI = A.getSlot(i); + const FnAttributeWithIndex &PAWI = A.getSlot(i); Record.push_back(PAWI.Index); Record.push_back(PAWI.Attrs); } -- cgit v1.2.3