mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
afed8142b7
commit
8bcb042f22
@ -139,9 +139,9 @@ MachineInstr *MachineInstr::removeFromParent() {
|
||||
/// OperandComplete - Return true if it's illegal to add a new operand
|
||||
///
|
||||
bool MachineInstr::OperandsComplete() const {
|
||||
int NumOperands = TargetInstrDescriptors[Opcode].numOperands;
|
||||
unsigned short NumOperands = TargetInstrDescriptors[Opcode].numOperands;
|
||||
if ((TargetInstrDescriptors[Opcode].Flags & M_VARIABLE_OPS) == 0 &&
|
||||
getNumOperands()-NumImplicitOps >= (unsigned)NumOperands)
|
||||
getNumOperands()-NumImplicitOps >= NumOperands)
|
||||
return true; // Broken: we have all the operands of this instruction!
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user