mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
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
This commit is contained in:
@ -98,10 +98,12 @@ void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
|
||||
Anew->addAttr( OldFunc->getAttributes()
|
||||
.getParamAttributes(I->getArgNo() + 1));
|
||||
NewFunc->setAttributes(NewFunc->getAttributes()
|
||||
.addAttr(0, OldFunc->getAttributes()
|
||||
.addAttr(NewFunc->getContext(), 0,
|
||||
OldFunc->getAttributes()
|
||||
.getRetAttributes()));
|
||||
NewFunc->setAttributes(NewFunc->getAttributes()
|
||||
.addAttr(~0, OldFunc->getAttributes()
|
||||
.addAttr(NewFunc->getContext(), ~0,
|
||||
OldFunc->getAttributes()
|
||||
.getFnAttributes()));
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user