mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Shrinkfy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6542481a6d
commit
38b0be01de
@ -79,7 +79,7 @@ private:
|
||||
|
||||
/// subReg - SubRegister number, only valid for MO_Register. A value of 0
|
||||
/// indicates the MO_Register has no subReg.
|
||||
unsigned subReg;
|
||||
unsigned char subReg;
|
||||
} auxInfo;
|
||||
|
||||
MachineOperand() {}
|
||||
@ -188,7 +188,7 @@ public:
|
||||
}
|
||||
unsigned getSubReg() const {
|
||||
assert(isRegister() && "Wrong MachineOperand accessor");
|
||||
return auxInfo.subReg;
|
||||
return (unsigned)auxInfo.subReg;
|
||||
}
|
||||
const char *getSymbolName() const {
|
||||
assert(isExternalSymbol() && "Wrong MachineOperand accessor");
|
||||
@ -277,7 +277,7 @@ public:
|
||||
}
|
||||
void setSubReg(unsigned subReg) {
|
||||
assert(isRegister() && "Wrong MachineOperand accessor");
|
||||
auxInfo.subReg = subReg;
|
||||
auxInfo.subReg = (unsigned char)subReg;
|
||||
}
|
||||
void setConstantPoolIndex(unsigned Idx) {
|
||||
assert(isConstantPoolIndex() && "Wrong MachineOperand accessor");
|
||||
@ -472,7 +472,7 @@ public:
|
||||
Op.IsKill = IsKill;
|
||||
Op.IsDead = IsDead;
|
||||
Op.contents.RegNo = Reg;
|
||||
Op.auxInfo.subReg = SubReg;
|
||||
Op.auxInfo.subReg = (unsigned char)SubReg;
|
||||
}
|
||||
|
||||
/// addImmOperand - Add a zero extended constant argument to the
|
||||
|
Loading…
Reference in New Issue
Block a user