mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
Remove the bitwise NOT 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@165892 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -255,7 +255,7 @@ void Function::addAttribute(unsigned i, Attributes attr) {
|
||||
|
||||
void Function::removeAttribute(unsigned i, Attributes attr) {
|
||||
AttrListPtr PAL = getAttributes();
|
||||
PAL = PAL.removeAttr(i, attr);
|
||||
PAL = PAL.removeAttr(getContext(), i, attr);
|
||||
setAttributes(PAL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user