projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the bitwise assignment OR operator from the Attributes class. Replace it with...
[oota-llvm.git]
/
lib
/
VMCore
/
Function.cpp
diff --git
a/lib/VMCore/Function.cpp
b/lib/VMCore/Function.cpp
index 15e9f7cfdcdf95608270bd2ccfb5dad7f9d122b7..cbf1037f178155cd763aa77b96d335c23027865b 100644
(file)
--- a/
lib/VMCore/Function.cpp
+++ b/
lib/VMCore/Function.cpp
@@
-249,7
+249,7
@@
void Function::dropAllReferences() {
void Function::addAttribute(unsigned i, Attributes attr) {
AttrListPtr PAL = getAttributes();
- PAL = PAL.addAttr(i, attr);
+ PAL = PAL.addAttr(
getContext(),
i, attr);
setAttributes(PAL);
}