diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-14 07:35:59 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-14 07:35:59 +0000 |
commit | c416795feaaa2052f7b46fa7a3f9b6ec3751b1eb (patch) | |
tree | a480d12bd585e710db7b7c25f37ec10eac7ce1cd /lib/VMCore/Function.cpp | |
parent | 432e606cf126e38f3f2a0a9f3348dfac34915bee (diff) |
Remove the bitwise assignment OR operator from the Attributes class. Replace it with the equivalent from the builder class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 15e9f7cfdc..cbf1037f17 100644 --- 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); } |