mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
Clean up.
llvm-svn: 31957
This commit is contained in:
parent
40044ef4b0
commit
e176869ec0
@ -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…
Reference in New Issue
Block a user