Remove an invalid assertion now that there are implicit virtual register operands.

llvm-svn: 47493
This commit is contained in:
Evan Cheng 2008-02-22 19:25:04 +00:00
parent ea1ef87ea2
commit b1d1f9f0a9
1 changed files with 0 additions and 2 deletions

View File

@ -122,8 +122,6 @@ public:
/// it is set. Returns -1 if it is not set.
int getOperandConstraint(unsigned OpNum,
TOI::OperandConstraint Constraint) const {
assert((OpNum < NumOperands || isVariadic()) &&
"Invalid operand # of TargetInstrInfo");
if (OpNum < NumOperands &&
(OpInfo[OpNum].Constraints & (1 << Constraint))) {
unsigned Pos = 16 + Constraint * 4;