s/ParamAttrsWithIndex/FnAttributeWithIndex/g

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56535 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2008-09-24 00:55:02 +00:00
parent 3d8cd9ec10
commit e3d76d37e9
11 changed files with 56 additions and 56 deletions

View File

@ -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()));

View File

@ -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);
}