projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the AttrListPtr object a part of the LLVMContext.
[oota-llvm.git]
/
lib
/
Bitcode
/
Reader
/
BitcodeReader.cpp
diff --git
a/lib/Bitcode/Reader/BitcodeReader.cpp
b/lib/Bitcode/Reader/BitcodeReader.cpp
index ac298301e84a4af750d10e37c179ba8fc6f483ba..b973ea461ae1ac2ebad01c67f0ad9cc684cb3d11 100644
(file)
--- a/
lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/
lib/Bitcode/Reader/BitcodeReader.cpp
@@
-487,7
+487,7
@@
bool BitcodeReader::ParseAttributeBlock() {
Attributes::get(Context, B)));
}
- MAttributes.push_back(AttrListPtr::get(Attrs));
+ MAttributes.push_back(AttrListPtr::get(
Context,
Attrs));
Attrs.clear();
break;
}