summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AttributeImpl.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-28 22:33:39 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-28 22:33:39 +0000
commiteeebb13fb24c88f0ff1d5f235cc7c626534e0e9b (patch)
tree97a5e1e7dd4ba010d3cfc7cdba922bb1d6931ab2 /llvm/lib/IR/AttributeImpl.h
parent5b2a789c6f3c0cb4e718ce8e8c259c9626d06180 (diff)
downloadbcm5719-llvm-eeebb13fb24c88f0ff1d5f235cc7c626534e0e9b.tar.gz
bcm5719-llvm-eeebb13fb24c88f0ff1d5f235cc7c626534e0e9b.zip
Try to appease some broken compilers by using 'unsigned' instead of 'uint64_t'.
llvm-svn: 173725
Diffstat (limited to 'llvm/lib/IR/AttributeImpl.h')
-rw-r--r--llvm/lib/IR/AttributeImpl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/IR/AttributeImpl.h b/llvm/lib/IR/AttributeImpl.h
index 457b6ab3e21..c00f0943146 100644
--- a/llvm/lib/IR/AttributeImpl.h
+++ b/llvm/lib/IR/AttributeImpl.h
@@ -116,7 +116,7 @@ class AttributeSetImpl : public FoldingSetNode {
LLVMContext &Context;
- typedef std::pair<uint64_t, AttributeSetNode*> IndexAttrPair;
+ typedef std::pair<unsigned, AttributeSetNode*> IndexAttrPair;
SmallVector<IndexAttrPair, 4> AttrNodes;
// AttributesSet is uniqued, these should not be publicly available.
@@ -124,7 +124,7 @@ class AttributeSetImpl : public FoldingSetNode {
AttributeSetImpl(const AttributeSetImpl &) LLVM_DELETED_FUNCTION;
public:
AttributeSetImpl(LLVMContext &C,
- ArrayRef<std::pair<uint64_t, AttributeSetNode*> > attrs)
+ ArrayRef<std::pair<unsigned, AttributeSetNode*> > attrs)
: Context(C), AttrNodes(attrs.begin(), attrs.end()) {}
/// \brief Get the context that created this AttributeSetImpl.
@@ -166,7 +166,7 @@ public:
Profile(ID, AttrNodes);
}
static void Profile(FoldingSetNodeID &ID,
- ArrayRef<std::pair<uint64_t, AttributeSetNode*> > Nodes) {
+ ArrayRef<std::pair<unsigned, AttributeSetNode*> > Nodes) {
for (unsigned i = 0, e = Nodes.size(); i != e; ++i) {
ID.AddInteger(Nodes[i].first);
ID.AddPointer(Nodes[i].second);
OpenPOWER on IntegriCloud