switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients.
llvm-svn: 157556
This commit is contained in:
@@ -486,7 +486,7 @@ bool BitcodeReader::ParseAttributeBlock() {
|
||||
Attributes(Record[i+1])));
|
||||
}
|
||||
|
||||
MAttributes.push_back(AttrListPtr::get(Attrs.begin(), Attrs.end()));
|
||||
MAttributes.push_back(AttrListPtr::get(Attrs));
|
||||
Attrs.clear();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user