aboutsummaryrefslogtreecommitdiffstats
path: root/lib/IR/AttributeImpl.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-27 23:41:29 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-27 23:41:29 +0000
commitd05204aea4977eaec25e96bc7605a7bb9d806fc0 (patch)
tree45de322cc717d8d239c4d81686520f55e4fd84e0 /lib/IR/AttributeImpl.h
parent2d5be6c313c0f9e23e56620fa8f8ae8d9b539bf0 (diff)
downloadexternal_llvm-d05204aea4977eaec25e96bc7605a7bb9d806fc0.zip
external_llvm-d05204aea4977eaec25e96bc7605a7bb9d806fc0.tar.gz
external_llvm-d05204aea4977eaec25e96bc7605a7bb9d806fc0.tar.bz2
Push the calculation of the 'Raw' attribute mask down into the implementation. It in turn uses the correct list for calculating the 'Raw' value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/AttributeImpl.h')
-rw-r--r--lib/IR/AttributeImpl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h
index b4fb0c0..babc14e 100644
--- a/lib/IR/AttributeImpl.h
+++ b/lib/IR/AttributeImpl.h
@@ -165,6 +165,9 @@ public:
ID.AddPointer(Nodes[i].second);
}
}
+
+ // FIXME: This atrocity is temporary.
+ uint64_t Raw(uint64_t Index) const;
};
} // end llvm namespace