mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Fix a build issue on cygwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c6255c376
commit
5dfdc1c809
@ -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…
x
Reference in New Issue
Block a user