mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 20:44:51 +00:00
Clean up
llvm-svn: 28851
This commit is contained in:
parent
25b04b4249
commit
6909286861
@ -149,8 +149,7 @@ public:
|
||||
const TargetRegisterClass
|
||||
*getInstrOperandRegClass(const TargetInstrDescriptor *II, unsigned Op) const {
|
||||
if (Op >= II->numOperands) {
|
||||
if (!(II->Flags & M_VARIABLE_OPS))
|
||||
assert(false && "Invalid operand # of instruction");
|
||||
assert((II->Flags & M_VARIABLE_OPS)&& "Invalid operand # of instruction");
|
||||
return NULL;
|
||||
}
|
||||
const TargetOperandInfo &toi = II->OpInfo[Op];
|
||||
|
Loading…
Reference in New Issue
Block a user