void setNest() { Flags |= One << NestOffs; }
unsigned getByValAlign() const {
- return (One << ((Flags & ByValAlign) >> ByValAlignOffs)) / 2;
+ return (unsigned)
+ ((One << ((Flags & ByValAlign) >> ByValAlignOffs)) / 2);
}
void setByValAlign(unsigned A) {
Flags = (Flags & ~ByValAlign) |
void setSplit() { Flags |= One << SplitOffs; }
unsigned getOrigAlign() const {
- return (One << ((Flags & OrigAlign) >> OrigAlignOffs)) / 2;
+ return (unsigned)
+ ((One << ((Flags & OrigAlign) >> OrigAlignOffs)) / 2);
}
void setOrigAlign(unsigned A) {
Flags = (Flags & ~OrigAlign) |
}
unsigned getByValSize() const {
- return (Flags & ByValSize) >> ByValSizeOffs;
+ return (unsigned)((Flags & ByValSize) >> ByValSizeOffs);
}
void setByValSize(unsigned S) {
Flags = (Flags & ~ByValSize) | (uint64_t(S) << ByValSizeOffs);