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:
parent
a44206f579
commit
93a70c4a0e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user