From 3cb6f83ebbde1d6d33651dcab64d5207900c4114 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 28 May 2012 01:47:44 +0000 Subject: switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients. llvm-svn: 157556 --- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp') diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index ca935d22458..5a132a4f2ff 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -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; } -- cgit v1.2.3