bits |= PACKED_GTF_SPILLED;
}
+ const unsigned char packedFlags = PACKED_GTF_SPILL | PACKED_GTF_SPILLED;
+
// Clear anything that was already there by masking out the bits before 'or'ing in what we want there.
- gtSpillFlags = (unsigned char)((gtSpillFlags & ~(0xffU << (idx * 2))) | (bits << (idx * 2)));
+ gtSpillFlags = (unsigned char)((gtSpillFlags & ~(packedFlags << (idx * 2))) | (bits << (idx * 2)));
#else
unreached();
#endif
bits |= PACKED_GTF_SPILLED;
}
+ const unsigned char packedFlags = PACKED_GTF_SPILL | PACKED_GTF_SPILLED;
+
// Clear anything that was already there by masking out the bits before 'or'ing in what we want there.
- gtSpillFlags = (unsigned char)((gtSpillFlags & ~(0xffU << (idx * 2))) | (bits << (idx * 2)));
+ gtSpillFlags = (unsigned char)((gtSpillFlags & ~(packedFlags << (idx * 2))) | (bits << (idx * 2)));
}
//--------------------------------------------------------------------------
bits |= PACKED_GTF_SPILLED;
}
+ const unsigned char packedFlags = PACKED_GTF_SPILL | PACKED_GTF_SPILLED;
+
// Clear anything that was already there by masking out the bits before 'or'ing in what we want there.
- gtSpillFlags = (unsigned char)((gtSpillFlags & ~(0xffU << (idx * 2))) | (bits << (idx * 2)));
+ gtSpillFlags = (unsigned char)((gtSpillFlags & ~(packedFlags << (idx * 2))) | (bits << (idx * 2)));
}
//--------------------------------------------------------------------------
}
#elif defined(_TARGET_ARM_)
assert(tree->gtRegNum == reg || (call != nullptr && call->GetRegNumByIdx(regIdx) == reg) ||
- (splitArg != nullptr && splitArg->GetRegNumByIdx(regIdx) == reg));
+ (splitArg != nullptr && splitArg->GetRegNumByIdx(regIdx) == reg) ||
+ (multiReg != nullptr && multiReg->GetRegNumByIdx(regIdx) == reg));
#else
assert(tree->gtRegNum == reg || (call != nullptr && call->GetRegNumByIdx(regIdx) == reg));
#endif // !CPU_LONG_USES_REGPAIR && !_TARGET_ARM_