diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-24 00:55:02 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-24 00:55:02 +0000 |
commit | e3d76d37e972d6f7b1335a3944ce31ae8f4cd3c9 (patch) | |
tree | 9486c5db47b3b661eb15d77b56bd55f5a1fdf44a /lib/Bitcode | |
parent | 3d8cd9ec10bd394a4b6d7c8f57a5b37e2d46634d (diff) |
s/ParamAttrsWithIndex/FnAttributeWithIndex/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r-- | lib/Bitcode/Reader/BitcodeReader.cpp | 4 | ||||
-rw-r--r-- | lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
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<uint64_t, 64> Record; - SmallVector<ParamAttrsWithIndex, 8> Attrs; + SmallVector<FnAttributeWithIndex, 8> 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); } |