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]
/
utils
/
TableGen
/
IntrinsicEmitter.cpp
diff --git
a/utils/TableGen/IntrinsicEmitter.cpp
b/utils/TableGen/IntrinsicEmitter.cpp
index e1910784a6d45abdbbef8dffd5e4cdea8251d410..fe55242930b183b863188f763fb2563311210113 100644
(file)
--- a/
utils/TableGen/IntrinsicEmitter.cpp
+++ b/
utils/TableGen/IntrinsicEmitter.cpp
@@
-621,7
+621,7
@@
EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, raw_ostream &OS) {
OS << " }\n";
OS << " }\n";
- OS << " return AttrListPtr::get(ArrayRef<AttributeWithIndex>(AWI, "
+ OS << " return AttrListPtr::get(
C,
ArrayRef<AttributeWithIndex>(AWI, "
"NumAttrs));\n";
OS << "}\n";
OS << "#endif // GET_INTRINSIC_ATTRIBUTES\n\n";