summaryrefslogtreecommitdiff
path: root/lib/IR/AttributeImpl.h
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/AttributeImpl.h
parente92800dd533988c46e58b0f4226df76a3bb1cb0c (diff)
downloadllvm-1db9b6957c2565a2322206bd5907530895f1c7ac.tar.gz
llvm-1db9b6957c2565a2322206bd5907530895f1c7ac.tar.bz2
llvm-1db9b6957c2565a2322206bd5907530895f1c7ac.tar.xz
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/AttributeImpl.h')
-rw-r--r--lib/IR/AttributeImpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h
index 1164d688bf..10f30e740c 100644
--- a/lib/IR/AttributeImpl.h
+++ b/lib/IR/AttributeImpl.h
@@ -57,7 +57,7 @@ public:
bool operator==(StringRef Kind) const;
bool operator!=(StringRef Kind) const;
- uint64_t getBitMask() const; // FIXME: Remove.
+ uint64_t Raw() const; // FIXME: Remove.
static uint64_t getAttrMask(Attribute::AttrKind Val);
@@ -93,7 +93,7 @@ public:
ArrayRef<AttributeWithIndex> AttrList){
for (unsigned i = 0, e = AttrList.size(); i != e; ++i) {
ID.AddInteger(AttrList[i].Index);
- ID.AddInteger(AttrList[i].Attrs.getBitMask());
+ ID.AddInteger(AttrList[i].Attrs.Raw());
}
}
};