1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Fix a build issue on cygwin

llvm-svn: 45506
This commit is contained in:
Chris Lattner 2008-01-02 22:03:27 +00:00
parent a44206f579
commit 93a70c4a0e

View File

@ -160,12 +160,9 @@ ParamAttrsList::areCompatible(const ParamAttrsList *A, const ParamAttrsList *B){
return true;
}
void
ParamAttrsList::Profile(FoldingSetNodeID &ID) const {
for (unsigned i = 0; i < attrs.size(); ++i) {
uint32_t val = uint32_t(attrs[i].attrs) << 16 | attrs[i].index;
ID.AddInteger(val);
}
void ParamAttrsList::Profile(FoldingSetNodeID &ID) const {
for (unsigned i = 0; i < attrs.size(); ++i)
ID.AddInteger(unsigned(attrs[i].attrs) << 16 | unsigned(attrs[i].index));
}
static ManagedStatic<FoldingSet<ParamAttrsList> > ParamAttrsLists;