summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-05-28 01:47:44 +0000
committerChris Lattner <sabre@nondot.org>2012-05-28 01:47:44 +0000
commit3cb6f83ebbde1d6d33651dcab64d5207900c4114 (patch)
treec841073bfb8b4d40625e238000449d3e757e2875 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent5be972d8a2095c92e7de4e8f61b02a20439b2461 (diff)
downloadbcm5719-llvm-3cb6f83ebbde1d6d33651dcab64d5207900c4114.tar.gz
bcm5719-llvm-3cb6f83ebbde1d6d33651dcab64d5207900c4114.zip
switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients.
llvm-svn: 157556
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud