aboutsummaryrefslogtreecommitdiff
path: root/lib/IR/Core.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-09 23:36:50 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-09 23:36:50 +0000
commit1db9b6957c2565a2322206bd5907530895f1c7ac (patch)
treeee7003977a4b12b1bd6a2252bdb3a603534a5a19 /lib/IR/Core.cpp
parente92800dd533988c46e58b0f4226df76a3bb1cb0c (diff)
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
Diffstat (limited to 'lib/IR/Core.cpp')
-rw-r--r--lib/IR/Core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IR/Core.cpp b/lib/IR/Core.cpp
index 2024ac9b05..12cb971af8 100644
--- a/lib/IR/Core.cpp
+++ b/lib/IR/Core.cpp
@@ -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);
}