mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Revert s/Raw/getBitMask/g name change. This is possibly causing LTO test hangings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172020 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1401,7 +1401,7 @@ void LLVMRemoveFunctionAttr(LLVMValueRef Fn, LLVMAttribute PA) {
|
||||
LLVMAttribute LLVMGetFunctionAttr(LLVMValueRef Fn) {
|
||||
Function *Func = unwrap<Function>(Fn);
|
||||
const AttributeSet PAL = Func->getAttributes();
|
||||
return (LLVMAttribute)PAL.getBitMask(AttributeSet::FunctionIndex);
|
||||
return (LLVMAttribute)PAL.Raw(AttributeSet::FunctionIndex);
|
||||
}
|
||||
|
||||
/*--.. Operations on parameters ............................................--*/
|
||||
@@ -1477,7 +1477,7 @@ void LLVMRemoveAttribute(LLVMValueRef Arg, LLVMAttribute PA) {
|
||||
LLVMAttribute LLVMGetAttribute(LLVMValueRef Arg) {
|
||||
Argument *A = unwrap<Argument>(Arg);
|
||||
return (LLVMAttribute)A->getParent()->getAttributes().
|
||||
getBitMask(A->getArgNo()+1);
|
||||
Raw(A->getArgNo()+1);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user