diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-28 22:33:39 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-28 22:33:39 +0000 |
commit | eeebb13fb24c88f0ff1d5f235cc7c626534e0e9b (patch) | |
tree | 97a5e1e7dd4ba010d3cfc7cdba922bb1d6931ab2 /llvm/lib/IR/AttributeImpl.h | |
parent | 5b2a789c6f3c0cb4e718ce8e8c259c9626d06180 (diff) | |
download | bcm5719-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.h | 6 |
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); |